• 0 Posts
  • 867 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle


  • It’s funny, the exact same logic applies to method and variable names. There’s no compiler that ensures that a method’s name accurately describes what the method does or ensures that a variable’s name accurately describes what the variable represents. Yet nobody ever says “you shouldn’t use descriptive method and variable names because they might be misleading”. And this is hardly academic: I can’t count the number of times I’ve run into methods that no longer do what the method name implies they do.

    And yet method and variable names are exactly what people mean when they talk about “self-documenting” code.






  • I remember Macintosh computers from circa 1990. Even then Apple loved to just remove buttons because they hate buttons. Because it was so perfectly intuitive to drag a disc icon over to the fucking trash can icon in order to eject the floppy disc, they didn’t have a physical eject button for the floppy drive. Helpfully, they instead put the power button right where a floppy drive eject button should have been. So I was constantly turning the computer off whenever I wanted to eject a disc.





  • My local Acme carried red bananas for a while. They are fucking delicious, taste more like a banana custard than a regular yellow banana. They’re also a bit smaller so less of a commitment to carbo-loading when you peel one. I wouldn’t mind at all if they became the new standard banana, even if it would kind of ruin Mario Kart.