I think it depends on the background. In my case, English is my second language and I learnt programming in Spanish. So when I see:
for (let counter = 1; counter <= 5; counter++) { console.log("This could be better."); }
I kind of read it literally: "define variable, control condition and make sure it's increased"
While with:
5.times do puts "something" end
I read as: "print something five times".
It's just like reading some text.
I don't want to mean disrespect to JS because I've worked with it and it's nice but I think Sylwia made a good point.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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.
I think it depends on the background. In my case, English is my second language and I learnt programming in Spanish. So when I see:
I kind of read it literally: "define variable, control condition and make sure it's increased"
While with:
I read as: "print something five times".
It's just like reading some text.
I don't want to mean disrespect to JS because I've worked with it and it's nice but I think Sylwia made a good point.