3,944 reputation
1817
bio website glmotorsports.wordpress.com
location Sylvania, OH
age 40
visits member for 4 years, 7 months
seen 2 days ago

Just another nobody out in the world, banging out some code from time to time...


Nov
30
comment Elegant ways to handle if(if else) else
Not a big fan of the multiple returns, although I do use it occasionally. It's quite reasonable on something simple, but just doesn't scale well. Our standard is to avoid it for all but crazy simple methods because methods tend to grow in size more than they shrink.
Nov
30
comment Elegant ways to handle if(if else) else
This is our preferred format where I work. The 2 main usable options seem to be "multiple returns" and "flag variables". Neither seems to have any kind of true advantage on average, but both fit certain circumstances better than others. Have to go with your typical case. Just another "Emacs" vs. "Vi" religous war. :-)
Nov
28
answered Is it bad to join open-source projects as an amateur?
Nov
23
comment Why do some languages recommend using spaces rather than tabs?
If you're programming in proportional width fonts, well, you've got a lot more problems than just tabs to worry about...
Nov
17
answered Is Ant still in the “mainstream” for Java builds?
Nov
8
awarded  Pundit
Nov
4
comment I keep failing hands on part of the interview, suggestions?
@deadalnix I disagree with your disagreement. :-) I've seen enough good programmers flunk tests and bad programmers pass tests that I think testing is not useful and often counterproductive. IMO, all they do is make the interviewer/HR feel good.
Nov
2
comment How do programmers in the West see programmers in the East?
Usually over Skype. Can't see 'em with a telescope due to the curvature of the Earth.
Oct
20
revised Why do almost all Java jobs (postings and from recruiters) say J2EE rather than the newer JEE versions?
missing word
Oct
13
comment Why is it so difficult to get a programming job?
"Hurting for programmers", meaning that the lack of programmers inflicts pain upon the companies in the region.
Oct
13
comment How can I automate production deployments without experiencing extreme anxiety?
'ls' after 'rm' once allowed me to catch a disasterous rm that was recursing down through hard links up to higher places in the file system. Was able to catch it while there was enough of the system left to use to recover the files that had already deleted (deleting millions of files seems to take awhile fortunately!). :-)
Oct
13
answered Why is it so difficult to get a programming job?
Oct
10
answered Why is C not considered an 'object-oriented' language?
Oct
7
comment Why does Garbage Collection only sweep the heap?
Would be interesting to know. First thought is that nulling out spaces is the most realistic. Traversing a tree of excluded areas may well take longer than just scanning through nulls. Obviously any attempt to compact the stack is fraught with peril! Making that work sounds like a mind-bending/error-prone process.
Oct
7
answered When do 'static functions' come into use?
Oct
7
comment Why does Garbage Collection only sweep the heap?
"sweep the heap" is safer than "whack the stack"... :-)
Oct
7
answered How do I package a J2SE app for sale to a market of buying customers?
Oct
6
comment Java devs: why not use Groovy?
I liked Scala until I started using Clojure... :-) Groovy doesn't even make my list...
Sep
21
comment Why does the Git community seem to ignore side-by-side diffs
I often bounce into code changed by coworkers, often in areas I'm not familiar with. I think I've used side by side maybe 3 or 4 times ever, and could easily have done without. It just depends on what your preferred operating style is. It works for you, I find it unnecessary.
Sep
21
comment Am I a code monkey?
I'm currently part of a "Cargo Cult Cleanup Crew". It's always fun to be able to delete 50% or more of someone's code and not impact functionality at all... :-)