Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Worry not my friend. I'll take the risk of being wrong. Up to now, it seems that there's consensus on the fact that the JS/frontend world is the worst offender when it comes to engineering robust software.

At least there are JS programmers that seem aware of it and agree that this has to change. So there's still hope I guess.



> JS/frontend world is the worst offender when it comes to engineering robust software

I completely agree. I still can't understand why the language that we depend on for increasingly large-scale front-end work still works like this:

[1, 10, 2, 21].sort() // returns: [1, 10, 2, 21]

It's 2016, software engineering is purported to be a profession, and we still have the worst tools imaginable.


Yep. And very large software developers have created languages that compile to javascript ... it is madness but it solves their problems.


Try

.sort(sorts.numerical)

Using npms 'sorts' module


I think the only thing you highlighted is why weakly typed languages have issues with readability. Looks like it sorted it fine to me.


I think there are people who are aware of the problem, but that problem is people reinventing the wheel a thousand times, and relying on copypasta and needless work rather than package management.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: