4,945 reputation
22037
bio website theslice.livejournal.com
location Olathe, KS
age 42
visits member for 4 years, 2 months
seen 15 hours ago

Just another programmer making his way in the world and hopefully helping others make theirs too.


Sep
15
comment Passing in config values to a method using SOLID principles
MailMessage and SmtpClient (.NET 4.0 and greater) both implement IDisposable and therefore should be deterministically disposed by employing the using construct.
Sep
14
comment Would comments increase the chance of being fired?
One of my first college professors in CS told the class: "fire the indispensable programmer". In other words, you're less valuable if you and the work you create doesn't play well with others. Make them want to keep you around, not have to keep you around.
Sep
10
awarded  Yearling
Aug
20
awarded  Guru
Aug
14
comment Why were magic methods implemented in C#?
@gbulmer this is where I recall getting the idea from: blogs.msdn.com/b/ericlippert/archive/2011/06/30/… (and to a lesser extent ericlippert.com/2013/07/22/…)
Aug
13
comment Why were magic methods implemented in C#?
Your "previously" and "now" are backward - the magic method was implemented as the base functionality for a foreach loop back in the beginning. There never has been a requirement for the object to implement IEnumerable for foreach to work. It's just been convention to do so.
Aug
7
comment Should you ever use private on fields and methods in C#?
You mean **private** static void Main() ? :)
Aug
4
comment Should you avoid adding unecessary stack frames?
Every stack frame I create is necessary for the proper functioning of my line-of-business application.
Jun
30
awarded  Popular Question
Apr
18
answered Would a “downcast if block” be a reasonable language feature?
Apr
9
comment Is there any performance benefit in checking the item count prior to executing a foreach loop?
Have you measured? What were the results?
Apr
3
reviewed Approve suggested edit on How to choose between different open-source libraries?
Feb
18
reviewed Approve suggested edit on Is there a way to find out what API's to use for developing a third party app
Feb
12
comment Extension method naming convention
It it works for 'Exception' suffix, why not use the full 'Extensions' suffix instead of 'Ext'? Clarity matters, as you say.
Jan
31
reviewed Reject suggested edit on Why is it a good idea for “lower” application layers not to be aware of “higher” ones?
Jan
23
comment What is an example of a computationally impossible business problem?
@gbjbaanb good old Zeno's Paradox. Fortunately, the sum of an infinitely converging series has an absolute limit.
Jan
7
awarded  Enlightened
Jan
7
awarded  Nice Answer
Dec
23
awarded  Custodian
Dec
23
reviewed Reject suggested edit on Does Java development typically involve more subclassing than C#/.NET?