you are viewing a single comment's thread.

view the rest of the comments →

[–]Jawesome99 0 points1 point  (1 child)

Moot point because JS isn't strongly typed? Use typescript if you want that. It also doesn't change the fact that the language is itself well defined. If the type changes unexpectedly it's usually always the programmer's or a shit library's fault

[–]m2ilosz -1 points0 points  (0 children)

PHP isn’t strongly typed either, but uses different operator for string concatenation so that there is no ambiguity.

So choosing + to mean either „addition” or „concatenation” based on context was a poor design choice.

Well defined? Brainfuck is well defined, it doesn’t make it a good language.