1,042 reputation
511
bio website jdj-it.com
location Netherlands
age 43
visits member for 3 years, 7 months
seen Nov 4 at 13:42

Independent software developer. Moderator at JavaRanch.


May
22
comment Should we avoid object creation in Java?
The newer Java versions from Oracle can do escape analysis, which means that objects that don't escape a method are allocated on the stack, which makes cleaning them up free - they are automatically deallocated when the method returns.
May
22
comment Should we avoid object creation in Java?
The newer versions of Java can do escape analysis, which means that it can allocate memory for objects that don't escape a method on the stack, so that cleaning them up is free - the garbage collector doesn't have to deal with those objects, they're automatically discarded when the method's stack frame is unwound (when the method returns).
May
9
comment Why does the Java collections APIs not have a last method?
I doubt that James Gosling himself designed the collections API. As far as I know most of that has been designed by Joshua Bloch.
May
3
comment Using BSD Licensed source code
How about asking the original author of the code if it's OK with him/her if you use the code in the way you intend to?
Apr
5
comment “// …” comments at end of code block after } - good or bad?
This really does not have anything to do with Java or Java programmers, and it's not common or a de-facto standard thing to do when programming in Java.
Apr
4
comment Difference between Javabean and Java Beans
One is singular and the other is plural? Really, without any more context this question is not answerable.
Mar
29
comment How is a Java reference different from a C pointer?
The first point: that's about the difference in theory and practice. I don't know if there's no such JVM. Oracle's JVM is by far not the only JVM implementation out there. About the second point, maybe you should have pointed out that you're not talking about primitive variables.
Mar
28
comment How is a Java reference different from a C pointer?
There are multiple things wrong with this. A Java reference doesn't necessarily (directly) contain the address of an object (see Joachim's answer). In Java, a variable also doesn't have to be a reference. Primitive type variables contain the value itself, not a reference to the value.
Mar
13
comment How do I keep an eye on a remote freelancer?
I'm a freelancer. I would NEVER accept a job from someone who requires me to install software to make a screenshot every few minutes. Besides, how would this help? Programming is not just typing in source code!
Mar
13
comment A Class named Class?
That would be a bad name, unless the entity represents the physical room where the class is to be held.
Feb
21
comment Is musical notation Turing-Complete?
It sort-of has conditional jumps, used in combination with repeat signs: "on the first repeat, play this part, on the second repeat, play that part". The repeat counter (that you'd hold in your head while playing) is state. But it indeed doesn't have an infinite tape containing state.
Feb
5
comment Conflicting Java Styles within a Team
Style doesn't matter, but consistency matters. Inconsistent style makes maintenance of the software a lot harder.
Jan
27
comment Efficient Java Programmer
If these words are used by your local tech community, then why don't you ask your local tech community what they mean by it? Other people here can only guess.
Jan
25
comment Why doesn't the DART language use a special character to identify variables?
"What's the reasoning behind that design decision?" - It's a bit strange to ask this, as if there was a conscious design decision to not have variable names start with a special character. Most languages don't require a special character.
Jan
20
comment Is it possible to write software that doesn't need to be continually modified?
@NathanFarrington The open-closed principle is a common principle used by software developers when designing software.
Aug
22
comment Is there a language out there in which parameters are placed inside method name?
This is called the fluent interface design style.
Aug
18
comment Ethics behind opening and editing a jar file
@O_O No license does not automatically mean that it is free to use. Do some research from the source of the JAR file to find out if there is some license that you didn't see before.
Jul
17
comment Compiler time versus programmer time
I was surprised nobody had posted it yet... ;-)
Jul
15
comment Why do people still say Java is slow?
And you didn't change your opinion of 1997? Did you notice that 2011 is totally different than 1997?
Jul
13
comment How do you remember numerous API?
You indeed don't have to memorize them, but when you work with an API a lot, you will automatically remember how to use it. Also, IDEs ofcourse help a lot with auto-complete etc.