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

help-circle

  • I’m immune to all the new Star Wars stuff

    I was 10 when the original Star Wars came out. I remember being emotionally crushed when I learned that Lucas intended to make nine movies altogether and realizing how long it would take for all of them to come out. Fortunately I stopped giving a fuck entirely after Empire Strikes Back. I only watched Return of the Jedi on rented VHS and the cackling muppet made me shut it off. I’m pretty sure I returned it without rewinding.





  • My favorite thing about the “all comments are bad” crowd is that their first example is almost always something like this:

    // Add 1 to x
    x = x + 1
    

    Like, nobody that thinks comments are good and important would ever add a useless comment like that. The point of commenting is to add documentation (usually the only form of documentation that a future developer is ever going to read) only to code that would otherwise be inscrutable.


  • That long-ass horizontal scroll bar reminds me of how I used to put unfindable easter eggs into my Visual Basic apps. I would have amusing little messages pop up from time to time in message boxes. To prevent anyone from just searching for the exact text in the message box, I would reduce it to a series of concatenated Chr() statements and then I would put like 200 characters of whitespace in front of the message box call. The only way anybody would spot it would be if they noticed the horizontal scroll bar this produced and nobody ever did.

    At least that’s my theory. It’s also possible that nobody ever used the software that I produced.


  • When I was in graduate school I got snared into evaluating potential new professor hires. One guy had like a couple of thousand publications, but they were all in journals that he had founded and was the editor of and nobody but himself and his friends ever got published in them. Amazingly, his CV included the publications and also all the journals that he founded and was the editor of. I pointed this out in a meeting and somehow this did not disqualify him from consideration. I was like, is this what everybody in academia does?








  • I stayed at one AirBnB where the owner had replaced all the kitchen counters with untreated butcher block. The instructions basically said “don’t use the kitchen”. For bonus points, my parents got the one bedroom and I had to sleep in the kids’ room … on the bottom bunk with the actual kid’s sheets because there weren’t any other sheets in the house. I just felt sorry for the kid.





  • Ironically, one of the universal things I’ve noticed in programmers (myself included) is that newbie coders always go through a phase of thinking “why am I writing SQL? I’ll write a set of classes to write the SQL for me!” resulting in a massively overcomplicated mess that is a hundred times harder to use (and maintain) than a simple SQL statement would be. The most hilarious example of this I ever saw was when I took over a young colleague’s code base and found two classes named “OR.cs” and “AND.cs”. All they did was take a String as a parameter, append " OR " or " AND " to it, and return it as the output. Very forward-thinking, in case the meanings of “OR” and “AND” were ever to change in future versions of SQL.