Re:Why I like Java
by chaostheory on Tuesday March 25, 2014 @04:29PM
(#7468730)
> I've never seen a case where that choice was important; you can just use ArrayList and LinkedHashSet everywhere
You shouldn't. Sometimes you should be using CopyOnArrayList. that's one example.
> Refactoring is easier in Java because your IDE can tell you what's broken
It's harder because there's more code to sift through and it's easier to have bad design.
> Choice of libraries is important in any languag
It's not really the choices of libraries that's the big killer in Java. It's the freedom of usage of those libraries. Spring is a good example of this.
> Those are choices you make, but you make them once at the start of the project
This is easy to say for veterans. Not so much for newbies.
You shouldn't. Sometimes you should be using CopyOnArrayList. that's one example.
> Refactoring is easier in Java because your IDE can tell you what's broken
It's harder because there's more code to sift through and it's easier to have bad design.
> Choice of libraries is important in any languag
It's not really the choices of libraries that's the big killer in Java. It's the freedom of usage of those libraries. Spring is a good example of this.
> Those are choices you make, but you make them once at the start of the project
This is easy to say for veterans. Not so much for newbies.