• 0 Posts
  • 19 Comments
Joined 2 years ago
cake
Cake day: February 19th, 2025

help-circle




  • You’re going to want to follow the “campsite rule” everywhere you go, and also sneak in positive refactors into your feature changes (if business is not willing to commit time to improving the maintainability of the codebase).

    Read up on good software design principles. I don’t know you experience level, but for instance, everyone agrees that appropriate abstraction, and encapsulation make code easier and more enjoyable to work with, and will let you run tests on isolated sections of the code without having to do a full end-to-end testsuite run.

    Having tests that you trust, especially if they execute quickly, will increase your “developer velocity” and let you to code fearlessly–knowing that your changes are reasonably safe to deploy. (Bugs and escaped defects will happen, but you just fix them and continue on.)

    Good luck!


  • The fact that documentation and comments can’t “fail” if the underlying code changes is a real problem. I’ve even worked at places which dictated that comments had to go directly above or even beside (inline) with the code they were explaining, so they would show up in any patches changing the code.

    What do you think happened? Yup, people would change code and leave the outdated (and wrong) comment untouched, directly to the right of the code they just changed.

    Hell, I was one of those people, so I get how it can happen.






  • mad_lentil@lemmy.catoMemes@lemmy.ml•The history of electoralism
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    Yeah I kind of didn’t like that word as I was writing it. Similar to how “tutoring” literally means to “straighten” or basically to inculcate to normativity.

    Meanwhile, “insight” or “inspiration” is something that you do yourself […]

    Good edit, this is a better word choice.



  • mad_lentil@lemmy.catomemes@lemmy.world•Separate Group Chat
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Even just reducing our global meat consumption would make me so happy. Let it’s insane to me that there is what amounts to my eyes as a wall of tortured flesh in every grocery store, and my tofus and veggie dogs take up like half of two shelves next to the fresh vegetables.

    I can’t wrap my head around eating meat every day, but there are people who eat meat at every meal.





  • In my experience, they’re better at poking holes in code than writing it, whether that’s green or brownfield.

    I’ve tried to get it to make sections of changes for me, and it feels very productive, but when I time myself I find I spend probably more time correcting the LLM’s work than if I’d just written it myself.

    But if you ask it to judge a refactor, then you might actually get one or two good points. You just have to really be careful to double check its assertions if you’re unfamiliar with anything, because it will lead you to some real boners if you just follow it blindly.