Reputation
1,107
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 12
Newest
 Yearling
Impact
~80k people reached

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
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
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.
Jun
28
comment Is copy & paste programming bad?
@Chance if you link to a lib you don't need to know the implementation details of the lib. But if you copy & paste source code from it you'd better make sure you understand exactly what that code does because when there's a problem with it, for example there's a bug in it, then you are expected to know how it works.
Jun
28
comment How to convince my boss that quality is a good thing to have in code?
@Jarrod even if your clients don't know that they are being ripped off it's a question of ethics, ripping people off is unethical, no matter if they know or not that they are being ripped off. And what do you know about Belgium that gives you confidence to say competition is worse or non-existent?
Jun
28
comment How to convince my boss that quality is a good thing to have in code?
@Jarrod Still I think your clients will not be happy with you if you rip them off by making them pay for the bugs you made yourself.