• 0 Posts
  • 14 Comments
Joined 7 months ago
cake
Cake day: June 9th, 2024

help-circle



  • Among all of them at least python is the choice generically people learn when they don’t want to learn programming, just want to program stuff as a helper tool to manage data. For those, python is just fine and the learning material around is tailored to for that.

    That’s how you trick people into programming. You then see people making scripts that take days to run, but it’s fine, they’re only going to use it twice and are busy enough to be able to wait



  • AdNecrias@lemmy.pttoMemes@sopuli.xyzFirst contact when?
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    4 months ago

    But you can see obese people being obese and they are small so that makes them an easier target of scapegoating than the big company that wastes food out of sight.

    Plus they making excess food compared to what they can sell locally doesn’t mean it’s suddenly magically cheap to get that food to the places it’s needed.

    Sure, China can finance it’s global distribution if cheap good, but that’d be communism and we don’t want to resort to that to help people. Better just leave that to private charity. So they can individually be less effective even considering the best intentions (it’s never the best intentions).








  • Good code is self documenting as in you don’t need to describe what it is doing and it is clear to read. Whoever says that and isn’t just repeating what they heard understands that whenever you are doing something not explicit in the code it should be on a comment.

    Workarounds and explaining you need to use this structure instead of another for some reason are clear examples, but business hints are another useful comment. Or sectioning the process (though I prefer descriptive private functions or pragma regions for that).

    It also addresses the hint that the code should be readable because you’re not going to have comments to explain spaghetti. Just a hint, doesn’t prevent it. Others also said it, comments are easier to get outdated as you don’t have the compiler to assist. And outdated comments lead to confusion.