Names are not necessarily truthful.
Names are not (semantically) checked by the compiler.
Names are not even tested.
Nothing breaks when you don't maintain names.
Code without names (beyond the necessity of a single letter) has none of these problems.
So... no proper names?
https://twitter.com/propensive/status/1095472033612337152 …
-
-
I disagree - the meaning is in the code already. Say you have a var `x` that ranges from 0 to 100 and you use it to compute the relative amount of customers you want to send mail to: `userCount * x / 100`. What's `x`? Clearly the percentage of users that get mail. 1/?
-
For the code's semantic, it doesn't matter what you name `x`. It "just" matters to other coders. By clearly stating the _existing_ meaning you make their lives easier. But that means adding a second layer of, possibly conflicting, information. 2/?
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.