Reputation
2,469
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
12 17
Newest
 Explainer
Impact
~160k people reached

1d
comment How to avoid compiling downtime
Don't name your project "downtime"? :)
2d
awarded  Explainer
Jul
30
answered Is this a valid situation for returning rather than throwing an exception?
Jul
30
revised Is this a valid situation for returning rather than throwing an exception?
"now" certainly should be "not"--this inverts the meaning of the sentence!
Jul
18
comment Is ageism in software development based on anything other than bias?
I think the last sentence plays a big part of it: The young guy can pull an all-nighter. The older worker is much harder to abuse.
Jul
18
answered Should the story points of stories created after splitting a story add up to the number of story points of that story?
Jul
13
comment Is the question “What is the using statement” a bad question to ask an interviewee?
Your guess misses the key part of using: There's an implicit try...finally in there that cleans up the item in the using. After that loop is done your TextWriter will be closed even if your loop crashes.
Jul
9
comment Why do so few large websites run a Microsoft stack?
SQL Express is free?? That depends on what you're doing with it. I just had to migrate some stuff from SQL Express to a linux box running MySQL because the program would fail to connect to the server once it went past the 20 users permitted on desktop versions of Windows.
Jul
7
comment How to debug a program after it appears to fix itself
You can get segfaults from well defined but erroneous behavior. A case from 20 years ago that sticks in my mind involved trying to store a real mode pointer into a protected mode pointer.
Jul
5
comment Is overriding Object.finalize() really bad?
And if you leave a file open it might interfere with someone else using it. (Windows 8 XPS viewer, I'm looking at you!)
Jun
20
comment Is blocking an entire web-client due to compatibility a reasonable request?
@user16764 I just got burned by a variation on this--a WebBrowser control in C#. Oops--it defaults to IE7 mode, I was attempting to write for an IE9 feature.
Jun
20
comment Should one use many small configuration files for script or a single large configuration file?
Think about it: If you use a bunch of separate files then you have no ability to search for the setting you're after and have to look in every file to find it.
Jun
18
comment FizzBuzz on Large Scale
The Sieve should not be used in modern environments as it uses too large a chunk of memory--cache misses galore.
Jun
16
comment Are #regions an antipattern or code smell?
One acceptable case for regions I've found--when you have a whole block of data embedded in your code. Who needs to look at that table with all possible permutations of a set of values?
Jun
4
comment Clean Code comments vs class documentation
I can't see any reason to document that it returns a product by ID--the name & return already tell you that. The only thing I see that needs documenting is whether it returns a null or throws if there is no such product. The Try version mentioned in the comments needs no documentation as it clearly returns false if there's no such product.
May
20
comment while(true) and loop-breaking - anti-pattern?
@supercat It's a little cleaner but I still wouldn't call that a really good answer.
May
19
comment Non-licensed source code later becomes licensed
@Brandin The lack of a stated license doesn't mean there's no license. By default it's protected.
May
14
comment What are linkers and loaders? How do they work?
The simplest loaders don't even have any fixup ability. I'm thinking of the old TRS-80. Executable files were simply address/size/data, repeated as needed (size was 1 byte so you normally needed multiple blocks.) You could even make splash screens by specifying a load address in video memory.
May
14
comment Is this a user story or a bug?
He's describing a bug at the design stage rather than the coding stage.
May
8
awarded  Nice Answer