News for hackers. Stuff that matters.
Re:Things I’ve learned in my 20 years as a software engineer by sangnoir on Friday October 08, 2021 @02:11PM (#28802281)
> Simplicity is an important design goal for all systems. Complexity breeds bugs

Counterpoint: some problem-spaces are inherently complex; most problem-spaces have hidden complexity. Complexity cannot be removed, it can only be moved up or down your tech stack, and obviously, you can needless add more complexity.

Docker, K8s and the like are perfectly fine when they fall below your project's complexity floor - they are good place to shift your complexity to as they are battle-tested and well-documented. If your projects complexity floor is lower than docker/k8s, then integrating them will just increase your solutions complexity needlessly.

Re:Things I’ve learned in my 20 years as a software engineer by marcus_holmes on Friday October 08, 2021 @07:31PM (#28805399)
Totally agree. Some problems are complex. However, that does not mean that the code needs to be complex. Simplicity should still be a design goal even if the problem space is complex.

I don't really agree that there is a "complexity floor". Things can always be made simpler, up to the limit of the problem space. As you say, complexity can always be added. Most projects do this. Very few stick to the minimum complexity. The complexity floor for most projects is therefore way below where that line is normally drawn.

Re:Things I’ve learned in my 20 years as a software engineer by physicles on Saturday October 09, 2021 @12:24AM (#28807044)
> up to the limit of the problem space.

This is the key. One of the harder things to do in software design is to find a representation of the problem that gets closest to that complexity floor. It's often not obvious.