Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Newton's third law disagrees
it's more like
´´´
var universe = getUniverseAt(0);
´´´
it was there, but noone knows in what form, shape, properties -
Poor JS.
First abused for programming.
Now also abused to answer questions about the universe. -
Undefined would be wrong.
JS just added undefined for stupidity.
That they kept undefined in TS is a mistake imho.
https://developer.mozilla.org/en-US...
Null would be wrong, too.
As @netikras said, there was probably something. -
Undefined should be a word that only comes up in error messages, yet they make it a legal primitive value instead, just like null.
Null isn't wrong.. There are many programming languages which allow us to create nullable variables. And it does have it's use case. Such as when user was querying a non existent row from database. -
"There" was no space before, thus "there" is something that didn't exist in our interpretation of reality.
Our reality is purely inside the expanding bubble of space-time, hell, the farthest we can see doesn't even remotely touch the shell of the bubble. -
@daniel-wu you see, those dynamic languages do actually require something like undefined, because nothing is stopping you from using something that not only doesn’t exist (like null) but even isn’t declared (no such variable/function).
It’s disgusting. -
@PonySlaystation unless our spacetime curves into itself, in which case there is no edge of a bubble.
This would also neatly avoid the need to answer the question what is beyond the edge of that bubble 😁
Related Rants
since universe is expanding.
what was there in it before our universe reached there.
I think JS can answer this question.
it was 'undefined`
once our universe reaches there it becomes null.
its still nothing but no longer 'undefined'.
random
shower thoughts