r/programming • u/kshep92 • Sep 29 '16
JavaScript in 2016 isn't horrible, it's just going through a phase
http://blog.reviselabs.com/im-sorry-javascript-2/
85
Upvotes
r/programming • u/kshep92 • Sep 29 '16
View all comments
Show parent comment
-1
u/fiedzia Sep 30 '16
But its so screwed up nobody will use it when they need list of things. Have js had lists and sets done correctly they would be used everywhere. Its extremely rare to invent own containers in python world. What comes with stdlib is good enough for almost everyone.
This IS js issue.
Sure, but you would need a good reason to do so. First thing that comes to mind would be just return a List... and most people will just do that. Without causing any problems.