Reputation
1,194
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
9 13
Newest
 Yearling
Impact
~66k people reached

  • 0 posts edited
  • 0 helpful flags
  • 356 votes cast
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
2
answered Multithreaded file copy
Oct
19
comment Is object pooling a deprecated technique?
And I would add that it is a good idea to avoid GC whenever the objects are long-lived enough that they've moved into the older generation.
Oct
11
awarded  Yearling
Oct
10
comment Is garbage collection necessary?
Of course mistakes in a GC language still result in bugs, such as many Java programs which continue to consume memory until they crash, because of programmers that retain live references to unneeded objects.
Oct
6
comment Are operators just “special” methods?
sizeof could be a function if the language supported type arguments. sizeof(a) would cast a to a Type object, then the sizeof function would return x.bytes. For example. Of course you are right that this cannot be done in C.
Sep
30
comment Harmful temptations in programming
@Merlyn: If you find yourself writing an instruction simulator so that you can force a context switch in just the right places, then you've probably gone way too far in your concurrency testing. :)
Sep
30
comment Why don't all companies buy developers the best hardware?
You switched from laptops to desktops? I just don't understand some people. I'd much rather have the laptop. It goes to meetings with me where I have everything at my fingertips to answer questions and make quick notes. I can easily work at home without spending time configuring two work environments. It's also a free second monitor.
Sep
30
comment Should I bother to develop for JavaScript disabled?
Be sure to consider your target audience. If your target is tech-savvy, security conscious people a much larger majority of your readers will be running NoScript. If they are like me, when they hit a site through a search link and that site offers nothing useful without javascript, I immediately hit Back and look at the next site on the list.
Sep
13
awarded  Good Answer