5 ms·
It takes a special kind of human to name variable "name" but not have it be a string.
by efdee 4y ago
It takes a special kind of human to name variable "name" but not have it be a string.
- orangecat 4y agoSomething like name = {first: "Jane", last: "Doe"} isn't obviously unreasonable. Which actually sets name to the string "[object Object]".
- eyelidlessness 4y agoFalsehoods programming languages believe about names.
- sanitycheck 4y agoI work with such humans! I was looking at that exact situation a few moments ago.
- Minor49er 4y agoI can imagine someone doing this if they were using "name" as a verb