Passionate about building great technology and connecting with people to create positive change. Happy to answer questions about transitioning to tech. Find me on Twitter @lounecl
That was my honestly biggest challenge with learning reduce(). My brain was too used to the syntax of for loops. But it is also difficult to understand a reduce method that's doing 3+ things in one function
Passionate about building great technology and connecting with people to create positive change. Happy to answer questions about transitioning to tech. Find me on Twitter @lounecl
For me, the simple fact that I learned for loops first has meant that my brain defaults to it. I'm more fluent with for loops. So any other syntax means having to "translate".
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That was my honestly biggest challenge with learning
reduce()
. My brain was too used to the syntax offor
loops. But it is also difficult to understand areduce
method that's doing 3+ things in one functionI get it. It happens. But do you think is easier to read a
for
block that is doing 3+ things?For me, the simple fact that I learned
for
loops first has meant that my brain defaults to it. I'm more fluent withfor
loops. So any other syntax means having to "translate".