logoalt Hacker News

teiferer • yesterday at 6:52 PM • 2 replies • view on HN

> In a truly sane world, JavaScript would never have happened, either!

Out of curiosity, what do you envision would have taken its place in frontend, in that sane world? (Honest question, no bad faith agenda.)


Replies

rafram • yesterday at 7:20 PM

No language that perfectly fills that niche exists, because none was ever needed. JavaScript eventually became Good Enough. Python is OK, but it’s an old language at this point and it suffers a lot of technical debt.

JavaScript’s biggest weakness IMO is its absolutely abysmal standard library, particularly in terms of data structures. (At least we have Map and Set now, but still no way to define a hash/equality function for a type…) The situation is so bad that essentially any other modern programming language would be an improvement.

irishcoffee • yesterday at 7:14 PM

I for one wish python had taken the spot JavaScript holds.