Behind any programming language there is a creator or sometimes a small team. Each language has a story and a philosophy and each creator had a motivation, a problem to solve.
Programming languages influence and sometimes determine the way programmers solve problems and the way problems can be solved. They gain supporters, make enemies and cause flames and “religious” wars. (more…)
Filed under: People, Resources by Daniel Pietraru
14 Comments »
This tutorial shows how you can script a Scala application using the Java 6 scripting engines features (JSR 223 Scripting APIs). It also proves the level of power Scala gets from running on the JVM and from being able to use Java APIs. Along with a syntax that tries hard not to alienate Java and C# programmers this power gives Scala a jump start in the race for wining a place in programmers’ minds. (more…)
Filed under: Scala Language, Scripting by Daniel Pietraru
2 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 statement. Let’s first look at some metrics. (more…)
Filed under: Java Language, Opinions, Scripting by Daniel Pietraru
55 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 constitutes an exception and how to decide what kind of exception each one is: checked vs unchecked. (more…)
Filed under: Java Exceptions, Java Language, Opinions, Software Design by Daniel Pietraru
2 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. (more…)
Filed under: Java Exceptions, Java Language, Opinions, Software Design by Daniel Pietraru
2 Comments »