An almost 30 Software Dev that enjoys gaming, woodworking, electronics and plenty of other hobbies. Too many hobbies.

  • 2 Posts
  • 1.47K Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle





  • This is why you have style guides, policies and safeguards, with others checking PRs as they go through to catch this sort of stuff.

    Plus I’m not saying everything should be commented. By default things should be explainable through the code and making sure variable and method names are descriptive, along with strong typing if your language has it.

    Comments are there for when the code itself is not enough. But you’re right shit always creeps in eventually regardless of the best intentions. Which is why teams need tech debt breaks where no new features are added and they go through the code fixing the niggly things that haven’t been worth fixing whilst doing other features, and ensuring critical sections (the kind that usually have comments on them) are still working as intended and described accurately.

    This is from a senior dev in the industry.















  • I used to think it was too. I’d been leveraging hyperfocus my whole life. But I would still fall short of what I could’ve achieved if I had started what I was doing earlier. And it started getting real tiring that whenever this would happen if forget to drink, eat, go to the toilet etc. everything would become a “once I’m done with this bit, then I’ll…” But it just does not end because the task is too big but it needs to be done by tomorrow so I can’t have a break.

    Which is why I got an actual medical diagnosis recently. (I had a diagnosis from college, but because of when it happened it was more of a “you had adhd as a kid, but you’re an adult now so you learned to cope” kind of diagnosis). And now I’m on a titration period to find out what works for me. So far elvanse 30mg seems to only work for a few hours for me and it’s been making me hyperfocus (with more of the bad stuff, because there isn’t an impending deadline) right at the very end of the work day, where it’s no longer working fully. I’m hoping my higher dosage next week sorts that.

    Sorry for this wall. Don’t think your comment warranted even half of this, but I’ve wrote it down now.