• 0 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle









  • Pennomi@lemmy.worldto196@lemmy.blahaj.zonerule
    link
    fedilink
    English
    arrow-up
    16
    ·
    4 months ago

    I’ve got a new idea on how to keep the big bad from being resurrected, just gotta give their corpse a cute little heart piercing! When all the flesh regrows around it, the piece of metal installed there will quickly re-kill them.








  • Pennomi@lemmy.worldto196@lemmy.blahaj.zonerule
    link
    fedilink
    English
    arrow-up
    40
    ·
    edit-2
    7 months ago

    Definitely. Horror story time.

    We had an outside contractor bring us some code once that was thousands of lines of Python to do a very simple job. I was perplexed. I dove in to figure out what the problem was, and somehow I was looking at the most Java-esque Python code I could imagine. What’s worse is that he implemented his own “Java style” property getters and setters for all the Python classes, which obviously aren’t needed because you can simply access properties directly. In the end I took an 80 line snippet of his code (which actually did the work we needed), swapped out all the getters and setters, and deleted all the rest.