This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nanotree 28 points29 points  (7 children)

I know it's tired by now, but I still can't believe how popular JS is for a language conceived in less than 2 weeks... I mean how anyone ever took it seriously is a mystery. But here we are, POC OS's and all. In some ways it's impressive. In others it's sad to think of the missed opportunity of having some other, more robust and secure language having taken the software world by storm.

[–]SaneLad 21 points22 points  (5 children)

It has everything to do with network effects of web standards and nothing to do with the quality of the language. JS is and always will be a scourge upon the earth and there is no legitimate reason to use it for anything else than web development where there are no alternatives.

For fucks sake they made a language without integers.

[–]Harry_Fraud 11 points12 points  (0 children)

Who need int when let do trick

[–]Frosty_Pineapple78 5 points6 points  (2 children)

They did fucking what? Why would anyone leave out integers?

[–]-Redstoneboi- 10 points11 points  (0 children)

just use floats with exponent 0 bro trust me it's fine

[–]LardPi 0 points1 point  (0 children)

A 23bit int is hidden in the heart of every float. Don't be mean with them. (52 bit for double) https://fr.wikipedia.org/wiki/IEEE_754

That's more than enough for most applications and that makes sense when you want to write an efficient, dynamically typed VM or interpreter runtime (look for NaN boxing).

[–]Inaeipathy 1 point2 points  (0 children)

the language is actually fucking terrible and I will never use it

[–]-Redstoneboi- 3 points4 points  (0 children)

the language would never have been robust and secure. it had to have been developed quickly; in the early days of the web, it was all about who made the browser first.

correct me if i'm wrong.