Email or username:

Password:

Forgot your password?
mushroom 🍄
JavaScript is awesome part 629361949:
"11" + 1
-> "111"

"11" - 1
-> 10

:cirno_for_reals:
11 comments
great eepe :flag:
@a1ba @duponin then let's remove nulls and undefineds as well, those are "biggest mistakes ever" or so people say
great eepe :flag:
@a1ba @duponin and while at it lets remove pointers from C :risitas1: and multithreading from all languages
Listens to Baroque while coding murder.exe :newt:
@hj @a1ba @duponin I unironically agree. The way pointers are designed in C is a total disaster with at least three dozens of subtle ways to push a nuke up your ass and blow it up.
:umu: :umu:
@newt @hj @duponin let's use const non-pointers pointers, aka references.

Though, I don't know how I would use them in system code
Listens to Baroque while coding murder.exe :newt:
@a1ba @hj @duponin how's system code different from any other code in this regard?

But no, that's not what I mean. The problem with pointers is, they aren't numbers, yet programmers treat them as if they were.
Go Up