2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
The worst pile of garbage software I have seen in my 30+ years career is a micro-services system. With 150+ services making it nearly impossible to figure out why the software blows up in production.
The easiest to maintain almost-never-a-bug-in-production software I have ever worked with is a massive but well-designed million+ line C++ monolith.
No architecture pattern or programming language will guarantee a well designed system. Only a good team of experienced developers, who truly understand how to design software well, will create great software.
It’s a people problem not an architecture pattern problem.
There is no silver bullet.
comment 2y ago · link · parent
All starting out as simple DSL’s and then evolving into really badly designed obscure and WTF generating programming languages.
C++ templates is another great example of this. It is the worse functional programming language ever invented. An absolute pile of garbage that every new standard is trying and failing to fix.
comment 2y ago · link · parent
For example, national laws only work when backed by a credible threat of violence. Arresting people and forcing them to live in a prison or getting executed for breaking a law is an act of violence carried out by all governments.
comment 2y ago · link · parent
Software with "technical debt" that makes $millions is highly valuable. Software with no "technical debt" not making $ is sunk cost.
Assuming you are a pro and not a hobby/OSS developer of course.
comment 2y ago · link · parent
Sorry a bit of a rant there. Unstable software makes me want to throw my PC out of the nearest window.
comment 2y ago · link · parent
Yes it might save a bit of time for you, but it also potentially waste orders of magnitude more time for other developers. Developers who will positively hate you for forcing them to fix something that is not a problem for them!
Instead keep the old API working and make the path to upgrade easy and smooth. Your API users will love you for it.
comment 2y ago · link · parent
It uses more than 100 micro-services to implement a system that would have been so much simpler if implemented as a monolith. With hundreds of scripts to try and manage the complexity. With frequent timing bugs (a single micro-service delay causing a cascade of timed out micro-services bringing the system down) and almost impossible to fix complex error scenarios that will make experienced developer heads spin.
In contrast, the systems I work on are million+ lines C/C++ monoliths that are orders of magnitudes simpler to maintain. With orders of magnitude fewer bugs in production. All implemented as a collection of well designed libraries.
IMHO the moment you split a monolith into 100+ micro-services, the number of failure scenarios dramatically increase because of the added complexity of message exchanges, message failures, queuing delays, circular dependencies etc.
In other words, if you don’t even have the skills to implement a monolith successfully, then stay the hell away from micro-services.
comment 2y ago · link · parent
comment 2y ago · link · parent
I have a mega base that I just keep maintaining and expanding. A bit like maintaining a garden I assume? It is super relaxing.
comment 2y ago · link · parent
And buying a house to rent out might not be the best way to invest long term.
I highly recommend actually sitting down and doing a detailed value/cost comparison of what makes most sense over the long term. The result might surprise you. It certainly surprised me when I did it.
comment 2y ago · link · parent
For example, I prefer statically typed languages. It just works well with how my brain works. I am super productive. However I also understand that dynamic languages works better for some developers. That’s great! I will naturally seek out jobs and teams that prefer statically typed languages and they will seek out jobs and teams that prefer dynamic languages. No problem.
656.
Book notes: A Philosophy of Software Design (2021)(danlebrero.com ↗)
1 points · by deterministic · 2y ago · discuss
comment 2y ago · link · parent
And use auto tests to verify functionality. Having a test program running a full end-to-end req/rpy session checking all functionality makes the bug count approach zero.
I am maintaining large scale mission critical C++ applications using this approach. With zero production bugs for 5+ years.
And yes of course split the implementation into reusable parts as much possible. That is basic Software/System Engineering.
Claims that it can't be done in other languages than Lisp is absolutely BS. Linux (for example) is mostly a huge collection of reusable components written in C.
It works for any language/environment and is therefore a more fundamental technique.
comment 2y ago · link · parent
2. Most developers 10x over-complicate solutions and spend 20x too much time implementing them.
3. Don't ever deprecate API's! An API is a contract that potentially thousands of systems or developers rely on. So find ways to move forward without breaking things. You are a pro right? So act like one. Linus gets it. Most don't.
comment 3y ago · link · parent