Tag Archives: java

Your project doesn’t become better because it has more lines of code…

As an Eclipse user, you know that the new release Galileo is available. This chart represents the evolution of the Eclipse project (found here):

In 6 years, the Eclipse project counts now 33 sub-projects and 24 millions Lines Of Code (LOC). The number of projects demonstrates that its incubator is really useful but, I don’t like [...]

Nested classes : static and non-static

You probably use inner classes which are (if I refer to Wikipedia):
In object-oriented programming, an inner class (aka nested class) is a class declared entirely within the body of another class or interface. It is distinguished from a subclass.
In Java, we can illustrate this concept with this sample:

public final class Clazz {
private final [...]

Garbage collection doesn’t mean no memory management

Managed languages rely on the garbage collector. According to Wikipedia article on garbage collection, it is:
In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaim garbage, or memory used by objects that are no longer in use by the application. Garbage collection was [...]

Java Collections Cheatsheet – v2

Hello,
I have just updated the Java Collections Cheatsheet with a small modification : in the first table, I have mentioned the utility class “Collections” (thank you Evernat for your feedback).
If you are not familiar with the O-Notation (in our case, n is the number of elements managed by the collection):
O(1): Constant –> the time to [...]

Java Collections Cheatsheet

NOTE: a new version of this cheatsheet is available here.
Hello,
As I said in my previous post, I currently read this great book (not expensive and few hours to read it):
The second part describes the collections in details: I really recommend you to buy it if you want to understand how they are implemented. For my [...]

Evolving the Java language: generics were hard to implement

Some weeks ago, I watched a great presentation of Neal Gafter, Evolving the Java Language. If you have a look at his blog, the biography of Neal Gafter is:
Neal Gafter works for Microsoft on the dotNet platform languages. To balance his life, his hobby is designing and developing the future of the Java programming language. [...]

What are changes in the source code?

If you use a distributed revision control(DRC) such as Mercurial or Git, you are probably familiar with the term changeset:
Changesets are a way to group a number of modifications that are relevant to each [...]

The future of Java. Am I wrong?

Hello,
I would like to come back on my last post named “The future of programming languages. What about Java?“. First, I want to thank you for your comments even when you express a disagreement: It’s good for a blogger to see the reactions of his readers, so THANKS. I have to say that, for a [...]

The future of the programming languages. What about Java?

I hope you had the opportunity to watch the video of “The future of the programming language“. This conference is led by Anders Hejlsberg, the architect of C#. He explains simply what, on his opinion, will be the next generation of languages. The main points are:

the Domain Specific Language (internal and external DSL)
the declarative aspect [...]

JUnit Max: continuous integration goes further

Hello,
Today, I have discovered that Kent Beck has a blog. For the people who don’t know him, the inventor of the Extreme Programming methodology and JUnit (with Erich Gamma). He’s currently working on a new project called JUnit Max:
The first part of the solution is to get smarter about running tests so the average wait [...]