1,129 reputation
813
bio website zlynx.org
location Greenwood Village, CO
age 40
visits member for 4 years, 2 months
seen Dec 17 at 21:43

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


Aug
27
comment Emacs/Vim/Vi - do they have a place in modern software development ecosystem?
This is an excellent point. Your IDE may be good at one, maybe even two things. I have yet to meet the IDE that is worth configuring for every type of file I edit. When I take a quick whack at a PHP file I am not going to waste time configuring an IDE for PHP.
Jun
15
comment Setters or constructor for many variables?
@JarrodRoberson: Then it needs a GUI binding. Or it needs a HTML POST binding. Seriously, what would it use a constructor for?
Jun
14
comment C# foreach improvements?
@FabricioAraujo: Surely C# for loops don't require a count. As far as I know they are just the same as C's for loops, which means you can use any boolean value to end the loop. Such as a check for the end of the enumeration when MoveNext returns false.
Jun
11
comment Is it ok to replace optimized code with readable code?
@DaveE: I think I agree more with the guy you work with than you. If I'm not allowed to fix stuff that is slow for absolutely no good reason I will go insane. If I see a line of C++ that repeatedly uses the + operator to assemble a string, or code that opens and reads /dev/urandom every time through the loop just because someone forgot to set a flag, then I fix it. By being fanatical about this I have managed to keep speeds up, when other people would have let it slide one microsecond at a time.
May
24
comment Dependency injection: How to sell it
So much agreement! I really really hate DI configuration files and the effect it has on tracking program flow. The entire thing turns into "spooky action at a distance" with no apparent connections between pieces. When it becomes easier to read code in a debugger than in source files, something is truly wrong.
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
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.
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.