7 ms·
Yoda speak, it is confusing like. Most people think "if the variable is not null" rather than "if null, the variable is not". It's easy enough to adapt to the s
by mc808 11y ago
Yoda speak, it is confusing like. Most people think "if the variable is not null" rather than "if null, the variable is not". It's easy enough to adapt to the style if it's used consistently throughout a code base, but that effort yields no benefits in most languages.
- JustSomeNobody 11y agoMost people think "if the variable is not null" Only because this is how people are traditionally taught to think. This can be untaught easily enough.
- firethief 11y agoSo you can unteach your developers to think... for what purpose?