grrgyle

joined 1 year ago
[–] grrgyle@slrpnk.net 1 points 21 hours ago

Robert Martin is screaming somewhere. Say what you will about him being out of touch, he did have some good points on writing readable code.

Like null should never be a special value.

And obviously the horrible naming.

[–] grrgyle@slrpnk.net 3 points 21 hours ago

Hmmm I need a datatype with three states... Should I use a named enum? No, no that's too obvious...

[–] grrgyle@slrpnk.net 6 points 21 hours ago

The variable name is 90% why this is so unreasonable. Code is for humans to read, so names matter.

[–] grrgyle@slrpnk.net 6 points 1 day ago (3 children)

I mean I'm not sure Bernie is that woke, much as I love him, but that's pretty much the view from over here.