Every once in a while I interview a new computer science graduate for a developer position. I prefer to ask the kind of questions that will let me see how they think about programming, if they think for themselves and if they are passionate about it.
Usually when I get to object oriented programming and I [...]
Filed under: Opinions, Software Design by Daniel Pietraru
50 Comments »
Lately I seem to find everywhere lots of articles about the imminent dismissal of Java and its replacement with the scripting language of the day or sometimes with other compiled languages.
No, that is not gonna happen. Java is gonna die eventually of old age many many years from now.
I will share the reasoning behind my [...]
Filed under: Java Language, Opinions, Scripting by Daniel Pietraru
59 Comments »
Designing the error path in the code is not the most entertaining part of a programmer’s job. We are focused on coding the solution, the success path, and the damn exceptions stand in the way demanding to be handled. What makes it even harder and murkier is the lack of well established rules for what [...]
Filed under: Java Exceptions, Java Language, Opinions, Software Design by Daniel Pietraru
5 Comments »
While developing complex systems lots of failure situations require handling and without proper planning chaos can conquer your code.
A number of simple principles can create order and reduce complexity. And the result can be real software quality.
Filed under: Java Exceptions, Java Language, Opinions, Software Design by Daniel Pietraru
2 Comments »
Good exception handling doesn’t happen by chance. It is designed and planned and when done properly it is one of the main roads to the software “Holy Grail” - quality and reliability.
But leave it to chance and soon all hell breaks loose.
Filed under: Java Exceptions, Java Language, Opinions, Software Design by Daniel Pietraru
No Comments »
UML lost the programmers. There is no doubt about it… in my mind. And when a software design technology loses the programmers it fades away no matter what the academia thinks. This happened because UML was pushed in a direction that most code writers don’t like: it started to look a lot like bureaucratic paper [...]
Filed under: Opinions, Software Design by Daniel Pietraru
96 Comments »
The fact that I find flaws in the design of the Java exceptions class hierarchy doesn’t mean I think there is no value in the whole system. Checked exceptions have a positive impact in development. The positive comes from the proactive nature of checked exceptions. They demand attention! And I think this is as much [...]
Filed under: Java Exceptions, Java Language, Opinions by Daniel Pietraru
17 Comments »