For all ‘Happy Path’ developers, proper error handling is a
fundamental feature of software, and it is quite possible that error
handling is for half of your code.
Expect the unexpected: not all English postboxes are red. This Victorian one stands in Dublin.
There two types of
errors:
Retryable Error
Permanate Error
Retryable error: a
temporary issue has occurred. a retry is likely successful. Example
causes: firewall reboot, db maintenance, HTTP 5XX.
Permanent error:
error where a retry will always end-up with an error. Example:
HTTP4XX, NPEs (Null Pointer Exceptions).
After a retry
sequence, Retryable errors should become permanent errors.
And at last, don’t
forget Logging and Monitoring of errors.
No. The rising of LLM will increase the demand of software developers.
Longer Answer
A LLM can generate text based on the training data. That's brilliant if you doing you homework or writing a message a teacher (South Park episode "Deep Learning"). If you search for information, LLM are brilliant, comparing things, aggregate information that the jobs LLM can help you a lot.
But Coding, writing software; is not writing text. If you want to learn a programming language, a LLM is great. If you searching for boiler plate code or a strange configuration property, LLM is my tool of choice. That's not coding. That's a advancment over Google or Stack Overflow. A LLM can improve autocomplete in my IDE (Kai Lentit on Y). LLM can't write software that is correct, that is fast, that is reliable, that is save, that is robust, that you and your business can rely on. So far, LLM has never been able to handle any programming task for me that went beyond the beginner level. And believe me, I tried it hard and I found out this a general limitation of LLM. I can explain it, but it's an other story.
LLM is great of doing Bullshit jobs. It will free people for better jobs. LLM increase the efficiency of software development in general.
LLM is a good new tool, but a fool with a tool is still a fool, with brand new legacy code. LLM is a just a tool like Excel or the Internet, LLM is just a high sophisticated tool (2026).
Summary
LLM increase the software development efficiency
LLM lower the entry level for software development
IMHO LLM will create a Rebound Effect on software development
LLM will help to create more Software faster
Software Developper will be more important than before.
Null
is biggest flaw of Java, saying some developers. Null causes NPEs
causes crashing software. IMHO this is the same vibe as C vs Rust and
I totally disagree. Crashing software is caused by developers and not
by the programming language.
The easiest and best way to prevent NPEs is … proper exception
handling. It is as simple as it sounds.
Bye the way, NPEs are often a side effect of OOP. All Objects are
unsafe until you checked them. But checks are unsafe so go with
exception handling.
For most software companies resilience means that the replication factor is 2 or higher.
Well that's far from good. You resilience is still bad as with two instances of your weak micro service.
One way to increase the internal resilience of your service is to decouple external service calls. This includes Data Base operations, Kafka, HTTP. For HTTP calls it is very common and most developer understand that this HTTP calls can go wrong but Data Base calls, yes all external services are running over a network, firewall, load balancer, switches, ... So it's a good idea to make all external call more resilient:
Put the external calls into own treads. This keeps your application running in case of an error or time out.
And have a time out or watchdog on it. By the way, Java futures are a easy way to do it.
Check the results also for write operations.
Extend logs and monitoring to recognize external call errors.
There many definitions what is the difference between complex (weather, stock market) and complicated systems (airplane, car). For code, I'm not using the ambiguous term software, for code I will go with my own definition.
Complicated code is a huge amount of code. The LOC metric is a good indicator of how complicated code is.
Complex code has a huge amount of execution paths. The cyclomatic complexity, or rather the cognitive complexity are a good indicator of how complex the code is. Spagetti Code is complex code. Code complexity is one code quality characteristic.
The metrics listed above are meaningful, easy-to-calculate code metrics. However, it should be noted that it is very easy to create examples where these metrics undoubtedly fail.
Try to avoid complex code. Try to replace complex code with complicated code.
It's an often heard, software developer have not enough time for coding. Short look in my calendar reveals that I have at least 20% meetings and I know many developers have much more. So how can I increase the efficiency of coding:
Skip useless dull meetings
Work only at one item at time and close all tabs and applications you don't need for the current task.
Are getting Flaky test on your nerves? Here is how you can fix them easily.
Here, How to handle flaky tests. Start on top of the list and go down until the problem is fixed.
If it's easy, then fix them.
Complain about it.
Disable flaky tests.
Delete flaky tests.
Sound easy, yes it is. Now let me explain it.
If it's easy, then fix them. But is is in 99.9999% of the cases I seen, it not easy. So you have to try the next idea.
Complain about it. This is an underrated or over seen solution. If you complain about a flaky test you trigger maybe an other developer who knows an easy solution.
Disable flaky tests. A flaky test doesn't secure any code behavior, because it's flaky. But it desensitise you, see image above. And a flaky test cost you development time, rerunning the tests. So there are only benefits in disabling them.
Delete flaky tests. If you are ready to disable the flaky tests, you can delete them, because it's dead code. An additional benefit of deleting it, it makes it easier to refactor your code.
If you you have any comments or other ideas, leave a comment below.