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

help-circle
  • After reading a lot of comments in this thread, I’m not sure I know what spaghetti code is. I thought spaghetti code was when the order of execution was obfuscated due to excessive jumps and GOTOs. But a lot of people are citing languages without those as examples of spaghetti code. Is this just a classic “I don’t like this programming language, and I don’t know much about it.” Or is there something I’m missing?


  • stingpie@lemmy.worldtoAutism@lemmy.worldKinda...
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    12 days ago

    I don’t understand the perspective that people should be more lazy. When people have lazy coworkers, they tend to suffer since they have to go above and beyond to get a task done. It’s like having a group project in school, and there’s the one guy that just does the bare minimum, so you have to work twice as hard so your grade doesn’t go down.

    And if everyone simultaneously became lazy, that would be a disaster too. You don’t want hospitals or firefighters to suddenly decide they want to just run down the clock instead of doing the best job they can.

    If you look at it only through the perspective of the morality of labor, it makes sense to say the rich are lazy and so it’s fair for the poor to be equally lazy, but when you look at the larger picture, it’s a lot less cut and dry.

    The truth is, our current standard of living is based on the amount of work people do. If everyone suddenly became less productive, we would enter a recession or an economic depression.



  • You always have to package good people with secret shames so suspicious players can gauge how good or evil they are. What people feel they need to hide is a good measure of what they consider acceptable. For example, a lawful good character could be ashamed by ignoring a person asking for help, but a lawful evil character might be ashamed that they indiscriminately murdered adults & children.







  • That’s not what I’m saying at all. What I’m trying to say is that I can’t think of any way a program working with numeric types could start outputting string types. I could maybe believe a calculator program that disables exceptions could do that, but even then, who would do that?