113 reputation
5
bio website
location New York, NY
age 47
visits member for 2 years, 9 months
seen Apr 26 '12 at 14:13

Apr
19
comment Why is naming a table's Primary Key column “Id” considered bad practice?
+1: These are compelling reasons in my opinion, while the other answers opposing ID don't convince me at all.
Apr
19
comment Why is naming a table's Primary Key column “Id” considered bad practice?
Suppose a Companies table has 2 foreign keys to a Persons table. One represents the company's President; the other represents the company's Treasurer. Would you really call the columns PersonID1 and PersonID2? It would be far more descriptive to call them PresidentID and TreasurerID. I find it much easier to read inner join Person AS Presidents ON Company.PresidentID = Presidents.ID than inner join Person AS Person1 ON Company.PersonID1 = Person1.PersonID
Feb
9
awarded  Commentator
Feb
9
comment Why are shortcuts like x += y considered good practice?
@Andy The point is that the logic describes the thinking in the ancestral language (C) in which the syntax was invented; the descendant languages (Java, C#) have just inherited the syntax. It no longer matters whether the logic applies to those environments.
Jan
12
comment Do people in non-English-speaking countries code in English?
+1 for pippo & pluto
Jan
12
comment Do people in non-English-speaking countries code in English?
At least "anno" is the (very) old-fashioned spelling of "año". Perhaps such Spanish-speaking programmers should code in Latin rather than Spanish; it is the "Latin" alphabet, after all.
Jan
4
awarded  Teacher
Jan
4
answered Use of NotImplementedException
Jan
4
awarded  Organizer
Jan
4
revised Use of NotImplementedException
The `NotImplementedException` is a .NET concept, not a C# concept.
Jan
4
comment Use of NotImplementedException
@svick I changed the flag to .NET since it could be any .NET language.
Jan
4
suggested suggested edit on Use of NotImplementedException
Dec
28
comment What are the consequences of having unnecessary references and usings?
But, if you delete the DLL from the bin folder, or publish the application without the DLL, the application should still run.
Dec
28
comment What are the consequences of having unnecessary references and usings?
Note that usings and references are not the same thing. Many of the answers fail to take that into account.
Dec
28
comment What are the consequences of having unnecessary references and usings?
If the reference is unused, you will not need the DLL when and where you run the software.
Dec
28
comment What are the consequences of having unnecessary references and usings?
+1 for clearly expressing the distinction between unused usings and unused references. The two are very different!
Dec
23
comment Why are data structures so important in interviews?
And regarding ArrayList, without a good grasp of data structures you might not even realize that ArrayList doesn't quite scale and you need to find and compose structures and algorithms that scale.
Dec
23
answered Is this a correct situation to use a constant?
Nov
21
awarded  Editor
Nov
21
revised Where did the notion of “one return only” come from?
"to" not "too"