Search posts, tags, users, and pages
Marcelo Zárate
A bit of everything & a lot of nothing developer
Good day, fellow reader. Two weeks ago I was talking to a colleague, who has plenty of years of PHP expertise, and he was amazed by his personal discovery of the "for each" loop. I couldn't hide my surprise at how could that knowledge be elusive to ...
Diego Baratta
Boca Juniors, Videogames and other nerdy stuff...
Hahaha I'm flattered to be such inspiration to you with this article. It's dumb of me to program all this years without even knowing the foreach's existance... But now with this I know a little more. Txs and keep the good teaching ^^
It's not dumb at all! As I said
"go by so many years without using it and by no means being powerless in his ability to make quality code."
Thanks for the inspiration and for stopping by!
Pavittar Singh
Javascript Developer | MERN Stack Developer
I usually avoid forEach in JavaScript because it at times behaves weirdly.
I prefer map, filter and reduce methods, or the plain classic or the while sometimes. 😅
I usually avoid it in JS too!
Never underestimate the power of the classic syntax. It survived so many years and a lot of great software is built upon it.
Diego Baratta
Boca Juniors, Videogames and other nerdy stuff...
Hahaha I'm flattered to be such inspiration to you with this article. It's dumb of me to program all this years without even knowing the foreach's existance... But now with this I know a little more. Txs and keep the good teaching ^^