A software engineer that loves Disroot and the team behind it.

  • 0 Posts
  • 32 Comments
Joined 11 months ago
cake
Cake day: December 22nd, 2023

help-circle
  • Maybe that example was made terrible because the author couldn’t think of a good ways to show how great this can be. I’m obviously a fan of SOLID, and OCP is exactly why I don’t worry if I have only one class at the beginning. Because I know eventually requirements would change and I’d end up with more classes.

    Some time ago I was asked by a less experienced coworker during a code review why I wrote a particularly complex piece of code instead just having a bunch of if statements. Eventually this piece got extended to do several other things, but because it was structured well, extending it was easy with minimum impact for the code-base. This is why design matters.

    Above claims are based on nearly 2 decades of writing software, 3/4 of it in big companies with very complex requirements.




















  • pfm@scribe.disroot.orgtoMemes@lemmy.mllaughing ass off at hacks
    link
    fedilink
    arrow-up
    9
    arrow-down
    5
    ·
    3 months ago

    First you confirm they have to spend a lot of time to set everything up, then you claim it’s just pressing a button? 🤨

    Taking a picture with your phone maybe looks like that, when you don’t care, but knowing one’s gear and using it properly is already many levels above just pressing a button. Then only a few questions and one presses the button. Questions like: what will be blurred? what will stand out? how the picture will be composed? will colours play? or textures? are there relations between objects in the picture?

    What in trying to say is: I don’t agree with you, that it’s just pressing a button. Programming is also just pressing buttons, right? 😉