Reputation
4,362
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 22 39
Newest
 Nice Answer
Impact
~238k people reached

Jan
7
awarded  Good Question
Dec
28
awarded  Yearling
Dec
23
awarded  Popular Question
Dec
20
comment Maintenance wise, is `else while` without intervening braces considered safe?
Wow, this answer is ridiculously convincing!
Dec
20
accepted Maintenance wise, is `else while` without intervening braces considered safe?
Dec
20
awarded  Nice Question
Dec
20
asked Maintenance wise, is `else while` without intervening braces considered safe?
Dec
12
awarded  Popular Question
Sep
4
awarded  Good Answer
Aug
28
comment How do you name your personal libraries?
@dasblinkenlight: lol.
Aug
28
asked How do you name your personal libraries?
Aug
27
comment Does C# give you “less rope to hang yourself” than C++?
@CharlesSalvia: Uh, how exactly does "C++ make it easier to take advantage of the CPU cache" than C#? And what kind of control does C++ give you over memory that you cannot have in C#?
Aug
26
comment Does C# give you “less rope to hang yourself” than C++?
kevin: Uh, your answer makes no sense. It's not C#'s fault that you're doing it wrong. You do NOT depend on finalizers in properly written C# code. If you have a field that has a Dispose method, you must implement IDisposable (the 'proper' way). If your class does that (which is the equivalent of implementing RAII for your class in C++), and you use using (which is like the smart pointers in C++), it all works perfectly. The finalizer is mostly meant to prevent accidents -- Dispose is responsible for correctness, and if you're not using it, well, that's your fault, not C#'s.
Aug
26
comment Does C# give you “less rope to hang yourself” than C++?
@gbjbaanb: Like DeadMG said -- signed integer overflow is undefined. It's not implementation-defined. Those phrases have specific meanings in the C++ standard, and they aren't the same thing. Don't make that mistake.
Aug
26
awarded  Nice Answer
Aug
25
revised Does C# give you “less rope to hang yourself” than C++?
added 376 characters in body
Aug
25
answered Does C# give you “less rope to hang yourself” than C++?
Aug
13
accepted Should I put newlines before or after binary operators?
Aug
13
comment Should I put newlines before or after binary operators?
+1 this is a really convincing way of putting it.
Aug
12
comment Should I put newlines before or after binary operators?
@delnan: Oh, you're definitely right about that -- there isn't any 'error' with your reasoning, it's just a bit short-sighted. :-) You're assuming that (1) there is only supposed to be a single mistake that leads to errors, or that (2) people make predictable mistakes when writing code. (For example, you're completely ignoring the use of regexes in a text editor -- I use them often, and every once in a while they cause errors like this.) The bottom line is that this is more error-prone in general (at least for me, maybe not for you), not that it's just one step away from correct code.