194 reputation
110
bio website stackoverflow.com/users/369
location Auckland, New Zealand
age
visits member for 4 years, 2 months
seen 6 hours ago

I'm a C# / SQL Server developer based in Auckland, New Zealand.


Sep
12
comment can a logic error happen way later than its cause?
Because nothing appeared to be wrong at that point, to the user. If you define "manifest" to mean "when the bug occurred", then of course a bug can't occur earlier than it occurs..
Sep
12
comment can a logic error happen way later than its cause?
Because it was a logic error - it loaded the data into the wrong fields. Nothing happened until later, because nobody tried to use the fields until later.
Sep
12
comment can a logic error happen way later than its cause?
Of course. I just fixed an error in some code that loaded some data. The bug manifested later, when the data was used to calculate something.
Jun
18
comment How much information about an error should be shown to the user?
@NateKerkhofs "And if he's the developer, he can replicate the bug".. - oh, if only that were true :(
Jun
11
awarded  Informed
Mar
14
revised How can software be protected from piracy?
typo
Jan
30
comment Why should passwords be encrypted if they are being stored in a secure database?
Or better, hash it!
Sep
6
awarded  Excavator
Sep
6
revised Comparing one's self to others during interviews
fixed where -> were
Sep
6
suggested approved edit on Comparing one's self to others during interviews
Aug
20
awarded  Citizen Patrol
Mar
25
comment The problems with Avoiding Smurf Naming classes with namespaces
Does Smurf.Launcher launch smurfs, or does it launch SmurfJobs? Perhaps it could be called Smurf.JobLauncher?
Dec
4
revised for vs. foreach vs. LINQ
typo in code
Dec
4
suggested approved edit on for vs. foreach vs. LINQ
Nov
7
comment Dealing with curly brace soup
Gotta say, I don't see how this makes it any easier. Either way you just look up the screen at the brace's indent level till you get to a keyword. And with all those extra lines you now have further to look.
Sep
19
comment Which VCS is efficient for storing small changes to big text files?
Are you sure git doesn't store diffs? That seems inefficient. I know subversion does, in any case.
Sep
4
awarded  Nice Answer
Aug
1
comment What imperative programming languages do not support recursion?
I suppose you could say that. But in that case, assembly also doesn't support loops (you have to manually CMP and JNZ). I guess it's a matter of what you call "supporting".
Aug
1
comment What imperative programming languages do not support recursion?
Well, recursive calls don't technically need parameters, right? void f() { f(); } is recursive.
Aug
1
comment What imperative programming languages do not support recursion?
It supports recursion as far as it supports method calls. There's usually a CALL instruction, which automatically pushes the IP to the stack before jumping to the subroutine, and a RET instructions which pops the return address into the IP. There's no reason you can't CALL your own entry-point.