DEV Community

Discussion on: "for" vs. "forEach" and the value of documentation

Collapse
 
swarupkm profile image
Swarup Kumar Mahapatra

Totally agree . People who start programming, generally they start with the procedural paradigm of programming. for loop is one the first thing that people come across (along with if-else). That sticks to their mind forever , until functional programming is introduced to them . Its just matter of time to get used to such paradigm . I am pretty sure with few weeks, the author of the article will be very well versed in functional programming