• 0 Posts
  • 1.3K Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle
  • if the code changes and the comment isn’t updated accordingly, it can be ambiguous.

    People always site this as a reason comments are bad. In 30+ years as a developer I have seen (and participated in) a lot of failed software projects, but not once has a mismatch between comments and code been the actual cause of the failure. Moreover, the same logic could be applied to the names of methods and variables (“if the code changes and the method and variable names aren’t updated accordingly, it can be ambiguous”) but nobody ever suggests getting rid of that. At the end of the day, comments are useful for imparting information about the code to future developers (or yourself) that is too complicated to be adequately communicated by a method name.





  • I spent my 30s feeling like a retiree, but then I bought a bicycle at age 39 and started riding 25-50 miles a day. Now I’m approaching my 60s and I’m in the best shape of my life. Barring catastrophic and permanent injuries, I think the main problem with aging is that being sedentary causes your body to decay and the older you are the more time you’ve had to be sedentary. Get up off your dead asses, people, and don’t tell me you don’t have the time for exercise. You have plenty of time to watch TV and scroll through your phones, turn some of that time into something useful.














  • I used to work for a software company that was a beneficiary of a $12 million a year political pork grant from the state of Louisiana that was officially intended for improving industrial and manufacturing capability in Louisiana. Somehow, my company was managing to spend this money in Mississippi, and giving it to a national defense contractor that wasn’t exactly in desperate need of (more) government handouts. That’s how fucking corrupt Mississippi is: they even suck in the corruption from their corrupt neighbors, while making sure that not a penny of that shit goes towards improving a state that I would describe as third-world if it wouldn’t be so insulting to the third world.