1,032 reputation
511
bio website jdj-it.com
location Netherlands
age 42
visits member for 3 years, 3 months
seen May 7 at 13:49

Independent software developer. Moderator at JavaRanch.


Apr
6
awarded  Yearling
Mar
5
awarded  Nice Answer
Oct
19
awarded  Nice Answer
Apr
6
awarded  Yearling
Oct
23
awarded  Necromancer
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?
May
1
answered Call stack starts at bottom or top?
Apr
6
awarded  Yearling
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
28
answered False friends? Keyword “static” in C compared to C++, C# and Java
Mar
14
answered What is meant by a primitive data type?
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.