User
Write something
Beginner Coaching Call is happening in 3 days
Method Chaining in Action!
I'm finally getting to the point where my answers are pretty similar to a lot of the algos top 1 or 2 answers. This is my first "one-liner" I've been able to do in the last 2 months. I'm getting away from for loops as I try to challenge myself to solve them using the Array methods instead as I'm pretty comfortable with for loops as long as they're not nested. That "j" index is scary lol This isn't a difficult Algo by any means, but I've seen some cool ways to solve algos since I've been grinding the last 2 weeks and wanted to try new ways to get to the same result. Codewars link if you're curious: https://www.codewars.com/kata/5648b12ce68d9daa6b000099/solutions/javascript The biggest win was remembering that in the .map method you can directly access your nested array's elements using this syntax: var number = function(busStops){ return busStops.map( ([on, off]) => on - off).reduce( (acc, cur) => acc +=cur) } console.log(number([[10,0],[3,5],[5,8]])) The kata 7s are now being solved pretty quickly as I get back up to speed with all the different ways to iterate/"open" arrays. Getting my head around needing an array, variable, and for loop for everything is now slowly fading as I'm learning the redundancies in my code from all the other answers. Soon I'll be on your "one liner" level @Adelin Rosca hahaha
4
1
New comment 7h ago
Got Hired!
Hey guys, hope you are all doing well. I got hired as a front end engineer for a company in London recently! I also got accepted to build a booking system app for a retreat centre in Portugal and am working as a project manager/ front end developer for that project. The road to getting into tech has been a long and hard one, but definitely building the crypto app was a huge benefit - the interviewers really liked it a lot. Also working on the squared app was crucial in getting the job as there were a lot of questions on Agile and examples of team work etc. I really hope this message motivates you guys to continue coding and becoming better developers, it will pay off . Just follow essentially whatever Cristean says and you will get a job 😂
45
28
New comment 3d ago
Got Hired!
Got my first developer job!!
after a couple months in the squared project, I finally got my first real dev job!! Whilst I already had the skills before joining this community, my biggest hurdle was always the lack of professional experience, but now with Cristian's squared program I was able to have something on my resume so that employers could look at it and not think I'm a total noob, but now that that is no longer the case my professional dev journey can finally begin!
48
24
New comment Sep 25
Update:
Worked on the following mini projects: - https://codepen.io/rajea-bilal/pen/VwJJaWq - https://codepen.io/rajea-bilal/pen/mdZZRWE - https://codepen.io/rajea-bilal/pen/LYKKWrj?editors=1111
5
0
👀 - New hire
We are on a roll
32
14
New comment Aug 30
👀 - New hire
1-30 of 65
Developer Pro
skool.com/developerpro
Learn how to code. Make money. Have fun. Enjoy life.
Leaderboard (30-day)
powered by