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

help-circle


  • Later on, I learned that an excess of comments is actually not considered a good practice.

    Pointless or uninformative comments are not good, regardless of the quantity.

    Useful and informative comments are always good, regardless of the quantity.

    I learned that comments might be a code smell indicating that the code is not very clear.

    When I’m looking at someone else’s code, I want to see extensive, descriptive comments.

    Good code should be so clear, that it doesn’t need comments.

    That hits me like something a teacher tells you in a coding class that turns out to be nonsense when you get to the real world.

    I’m not sure how others do it.

    As I’m coding, the comments form part of my plan. I write the comments before the code. As I discover I’ve made incorrect assumptions or poor decisions, I correct the comments with the new plan, then correct the code to match the updated comments.

    As a final step in coding, when I feel it is complete, I’ll review comments to determine what should remain to help future me if I ever have to dig into it again.

    Variable names should be reasonably memorable and make contextual sense, but that’s it. That’s what they exist for. Don’t overload the purpose of anything I’m the code.




  • Even in Europe when things would get bad enough for the people to put aside their differences and kill the ruling class, the differences tend to re-assert themselves once the common enemy is gone. That’s where things go south. Cutting heads off is like eating potato chips. You can’t just stop once you’ve started. Eventually you’re pulling crumbs out of the bottom of the bag.

    If it gets bad enough for the American people to unite to kill the oppressors, the oppressors will definitely have a bad time, but you better be ready for one hell of a rough ride after.









  • I had a class in college about Jesus. It was taught by a Catholic priest.

    One thing he said that stuck with me is that people don’t see the real miracles.

    When they talk about the miracle of the loaves and fish, people talk about how enough food for the multitude was created out of just what a couple people brought for their own lunch. People think the miracle is the creation of food. However this priest pointed out that the real miracle is that people who didn’t know anyone else there gave all they had so that others could eat. Everyone shared so that no one went hungry.

    Edit: one other thing that he said that stuck with me was, “Jesus Christ, son of Mary and Joe Christ”