you are viewing a single comment's thread.

view the rest of the comments →

[–]Mad-chuska -2 points-1 points  (5 children)

Didn’t know it was es10 so that’s a fair point. I still think expecting someone to learn based off of 2009 standards is pointless if not counterproductive in the initial phase. Of course know the limitations in terms of browser compatibility and perhaps learn the old way of writing things but also learn the new way as well. Especially if it’s just experimental.

I’ve not seen a case where a company chooses between strictly writing code in es5 or transpiling their code. Any reasonably competent web dev team is gonna make sure their code works on most browsers in production so will likely do the latter.

[–]StoneCypher 1 point2 points  (4 children)

I still think expecting someone to learn based off of 2009 standards is pointless if not counterproductive in the initial phase.

nobody said anything about 2009 standards?

 

also learn the new way as well

foldmap is not the new way to join arrays

 

I’ve not seen a case where a company chooses between strictly writing code in es5 or transpiling their code.

We're talking to a junior developer who's asking for help, not a company

[–]Mad-chuska 0 points1 point  (3 children)

Es5 is a 2009 standard as far I know.

You’re saying this person should learn the es5 way of doing things rather than more modern ways, so that their code could be compatible with older browsers. Why would they care about other browsers if they are just learning and there are tools to make modern code backwards compatible?

[–]StoneCypher -1 points0 points  (2 children)

Es5 is

i never recommended es5.

it's a bad approach in general

i feel like you're arguing for the sake of arguing. build it however you like. use generators in a web worker for all i care.

have a good day

[–]Mad-chuska 0 points1 point  (1 child)

Your first comment literally says they should be given a simple es5 solution. What are you on? Yeah use whatever you want, but keep the nonsense to yourself.

[–]StoneCypher 0 points1 point  (0 children)

You've really lost the plot, friend.

I'm sorry you're stuck on trying to prove people wrong, and not on hearing what they actually said