News for hackers. Stuff that matters.
Re:Drowning in code: The ever-growing problem of ever-growin... by sinuhe69 on Tuesday February 13, 2024 @10:31AM (#39358499)
That's exactly why we need to modularize and componentize. We need to reduce dependency, loose the coupling and eliminate side effects. Monolithic is a dead end. Microservices when things get too complex.
Re:Drowning in code: The ever-growing problem of ever-growin... by Cthulhu_ on Tuesday February 13, 2024 @10:48AM (#39358694)
Microservices to reduce complexity and coupling is a fallacy. https://riak.com/posts/technical/microservices-please-dont/ is a great and succinct counter to all the advantages that microservices claim to have. In summary:

> You don’t need to introduce a network boundary as an excuse to write better code

> Distributed Transactions are never easy

> A bunch of engineers working in isolated codebases leads to ‘Not my problem’ syndrome

Re:Drowning in code: The ever-growing problem of ever-growin... by ddejohn on Tuesday February 13, 2024 @10:40AM (#39358605)
> Microservices when things get too complex.

Microservices are a huge step up in complexity. I'm not convinced monoliths can't be implemented well.

Re:Drowning in code: The ever-growing problem of ever-growin... by klysm on Tuesday February 13, 2024 @10:39AM (#39358601)
Doesn't modularization and compartmentalization increase dependency? I'm curious on how you propose we do both at the same time.
Re:Drowning in code: The ever-growing problem of ever-growin... by TremendousJudge on Tuesday February 13, 2024 @10:39AM (#39358599)
https://grugbrain.dev/ has the following to say about microservices:

"grug wonder why big brain take hardest problem, factoring system correctly, and introduce network call too

seem very confusing to grug"

Re:Drowning in code: The ever-growing problem of ever-growin... by kjkjadksj on Tuesday February 13, 2024 @04:47PM (#39363284)
On the other hand, now there are a couple hundred cryptically named processes running at all times. How many services does Adobe need to run on my computer when I am not actually running their programs? Quite a few as it were.