1,129 reputation
813
bio website zlynx.org
location Greenwood Village, CO
age 40
visits member for 4 years, 2 months
seen 22 hours ago

Nothing interesting about me. This is not the user you are looking for. Move along. Move along.


May
22
comment Should we avoid object creation in Java?
"Free JVM heap memory doesn't give you anything just sitting there anyway." -- Not to your program, no. The rest of the system hates your program and wishes it would die so it can stop swapping.
May
4
comment Refactoring Switch Statements and is there any real use for Switch Statements at all?
And really, if you unrolled the factory and the dictionary and the lookup, it would turn out to be basically a switch statement: if array[hash(search)] then call array[hash(search)]. Although it would be runtime-extendable which compiled switches are not.
May
2
comment When to use C over C++, and C++ over C?
@sbi: Do programmers use threads? Yes. Do some versions of the libstdc++ implementation contain std::string reference counting bugs? Yes. Does std::auto_ptr call destructors of forward declared classes properly? It depends on the implementation. Do some programmers need to support C++ applications running on those platforms? Yes. Therefore, DeadMG's claim that a programmer does not need to know anything about the implementation is false, because no such thing as a perfect C++ library exists. Is the knowledge needed to find bugs in the implementation? No, it is needed to work around the bugs.
May
2
comment When to use C over C++, and C++ over C?
@sbi: I argued that in some cases you have to know the internals. What, are you just going to wait around sitting on your hands when your program has a serious bug, waiting for the library implementers to get around to your bug report in five or six weeks? Good luck with that.
Apr
18
answered Desktop GUI loading slow
Apr
13
comment When is Java a good choice for web development?
@ErikReppen: Definitely a talent thing. Java speed on a server is second only to C/C++. PHP or Rails just cannot compare. But Java's libraries and some of the tools make it too easy to lose all that speed doing uselessly complicated things.
Apr
9
comment Does anyone prefer proportional fonts?
@romkyns: Adopt an indent style that doesn't rely on lining up with other lines. Simple.
Mar
26
answered if/else statements or exceptions
Mar
21
awarded  Nice Answer
Feb
23
comment Should developers enter bugs into the bug tracking system?
@JoelFan: Flow is already interrupted. My flow would be more interrupted by knowing there was an unfixed bug.
Feb
23
comment Should developers enter bugs into the bug tracking system?
Mmm. Not every bug surely. Say you're reading though some code you just wrote and you find an off-by-one error in a nearby loop condition, say. Or a typo. It takes longer to write the bug than it does to just fix it, especially if the code is all still in development.
Feb
23
comment Should developers enter bugs into the bug tracking system?
@Xeoncross: That is a big one. If it is a different project, what do I know about their bug system? As an example where I work the developers on another project didn't like the system we had been using so they set up another bug system. I have a login. I think. But really it is easier to send them an email with any bugs I find than remember to use yet another different bug tracker.
Feb
3
comment Company PC refresh, laptop or desktop?
@Carra: And I've been to meetings where having a laptop was the only reason it wasn't a complete waste of two hours.
Jan
26
comment When to use C over C++, and C++ over C?
@Mankarse: Since my experience in 2007 when I tried running a Linux system with 1 GB RAM and no swap, almost all desktop software fails in horrible awful ways when memory allocation fails anyway.
Jan
25
comment When to use C over C++, and C++ over C?
@DeadMG: You do have to know STL (rather, C++ Standard) implementation in some cases. Such as when debugging a multithreaded crash caused by std::string reference counting in earlier versions of GCC. These kinds of things would be very important in an OS kernel.
Jan
25
comment When to use C over C++, and C++ over C?
@Mankarse: If you compile with the options to disable exceptions, allocators either abort the program or merrily proceed to use a null pointer, depending on the library implementation.
Jan
24
comment What's the benefit of avoiding the use of a debugger?
@ZJR: Which is why assert is so great. Check your assumptions. Check them often.
Dec
15
comment Should I encourage junior developers to use explicit or implicit typing?
@GiddyUpHorsey: That's a whole extra step when you could just be reading the code instead.
Dec
5
comment Do computer glasses work?
@Lohoris: Production vs. reflection only matters for color reproduction. The total amount of light coming off the paper or an LCD screen can be the same amount. What then is the difference? There is no difference.
Dec
5
comment Do computer glasses work?
@Lohoris: Turning down the brightness is not a workaround, it is the correct way to set the monitor. Paper is bright too. The trick is that paper is always less bright than the surrounding room light.