• 0 posts
  • 19 comments
Joined 3 years ago
Cake day: June 12th, 2023
  • 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.

  • Representatives for the internet provider she had used in her old apartment initially told her they couldn’t cancel her account because there was no last name associated with it.

    She had been paying the company for months. She has since switched internet providers.

    Are people this silly? Just stop paying them. They’ll figure out how to cancel the account.

  • My dad, whenever someone would bang their head, or stub their toe, or hit their thumb with a hammer, would say, “doesn’t it feel good when you stop?”

    That’s kind of how I feel about programming. It’s like repeatedly hitting yourself in the head with a hammer because it feels so good when you stop. I’m so addicted to the feeling of solving the problem, that I keep seeking out problems to torture myself with.

  • I used to work in the GRASP lab at Penn, and my predecessor there was John Bradley of xv fame. He had started naming all the machines after fish.

    When I got there I continued the practice, naming some tiny computers being used for mini robots after different types of goldfish.

    In my current job, years ago, I managed a group of Linux servers, and I named them after Demons (Lucifer, Asmodeus, Azrael, Beelzebub, etc.).

    At this point, there is a specific naming convention in use where I’m at, and the name is limited to identifying organization, application, and server type.

  • If they’re trying to do it in the Google Play Store, it isn’t working. I’ve never seen so many detailed, comprehensive 1 & 2 star reviews for any app. You just scroll and scroll and it’s nothing but people describing in great detail what a turd the app is.

    Seems to be all from people who decided to try the official app when spez pulled this crap and discovered that there was a reason no one used it.