Im on the fedi doin fedi things.

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

help-circle






  • 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.socialtoProgrammer Humor@programming.devFixing CI
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 months ago

    Why avoid the shell executor on docker? I did 4years of gitlab back a bit ago. It was super simple. But I haven’t kept up since work maintains actions and Travis. And there’s a way nowadays to inject the env or pull from a secret server-ish.

    All ci is basically the same. Or at least for a while.


  • mesa@piefed.socialtoProgrammer Humor@programming.devFixing CI
    link
    fedilink
    English
    arrow-up
    18
    ·
    2 months ago

    Circleci, Travis, and gitlab all allow you to ssh into the box you are trying your scripts on and fix it there. Much easier and takes a lot less time. Github actions have an unofficial way of doing it and is…not the best. Actions is actually one of the worst CIs I’m my experience.