Im on the fedi doin fedi things.

  • 205 Posts
  • 922 Comments
Joined 1 year ago
cake
Cake day: December 27th, 2024

help-circle






  • mesa@piefed.socialtoProgrammer Humor@programming.devOOP at home:
    link
    fedilink
    English
    arrow-up
    46
    arrow-down
    1
    ·
    3 days ago

    Its the best/worst thing about OOP no matter what language.

    We had a rule at work that if you are 3 levels or more down an inheritance tree, then you are too far. The cognitive load is just too much, plus everything stops making sense.

    One level can be great (MVC all have great conventions, MCP as well). Two can be pushing it (Strategy pattern when you have physical devices and cant be connected all the time, Certain kinds of business logic that repeat hundreds of times, etc…) But even there you are kinda pushing it.

    I need code that I can look at a month from now and know WTF is happening. And sometimes its better to have less DRY and more comprehension. Or maybe im just a forever mediocre dev and dont see the “light”. I dunno.












  • I had a job that used COBOL and programmed in it. Its not terrible. It even works with sql.

    The issue is the decades of code with little to o documentation, the fixes for issues like y2k that wirked at the time but now have problems, and greedy companies that want you to pay per processor. All the while you yourself are one of three people in the city that are looking to slowly pull everything out of COBOL, making it just a bit harder to get a job next time.










  • mesa@piefed.socialtoFediverse@lemmy.world1st Feb is #GlobalSwitchDay
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    12 days ago

    It took 2 days for a PR to go though on piefed. It was a great experience.

    Reading the code is VERY easy, even compared to other projects. I was able to get it up and running in about 30 mins with very little knowledge of the project. The “filters” are all optional on the admin side and instances can and have modified them to suit their needs.

    Congrats @rimu@piefed.social ! Your project has gained “controversy”, the main way you can tell its getting successful 😁.