818 reputation
511
bio website
location
age 29
visits member for 4 years, 1 month
seen Nov 7 at 12:44

Jul
22
comment Is a programmer's gut instinct an acceptable answer with regard to design decisions?
@Thomas Owens: I think you read the title and not the question. The last sentence is key "I know where to start looking, and I might even make a recommendation, but it's almost a subconscious effort. When is this acceptable (if ever)?"
Jul
22
comment Is a programmer's gut instinct an acceptable answer with regard to design decisions?
Too harsh. Good developers, with experience, build good instincts--they certainly need to be vetted, but never following your instinct is almost guaranteeing you're taking the long-road every time.
Jul
20
comment Refactoring into lots of methods - is this considered clean or not?
I would strongly advise you to read a copy of Robert C. Martin's "Clean Code", which contains several specific metrics that advise you on how much/little to put in your methods.
Jul
14
comment I'm a manager. How can I improve work relationships and communication with programmers?
The old rule-of-thumb for turning an estimate into a delivery-date is to multiply it by 400%. Estimates often forget to include all the ancillary coding, and it's critical a development manager knows how much to pad estimates rather than trying to eek out more accurate numbers in the first place.
Jul
14
comment I'm a manager. How can I improve work relationships and communication with programmers?
@kevin -- don't forget external training as well. Each engineer has probably already paid $100k out of their pocket for their degree; and that degree is probably severely out of date (technologies change more-or-less annually). Make sure they're being sent to refreshers frequently (a major conference every year or two, small conference a couple times a year). A few thousand dollars in keeping an existing developer up-to-date is significantly cheaper than on-boarding a new hire.
Feb
28
comment Is writing comments inside methods not a good practice?
I agree with your basic conclusion--but I would offer a different interpretation. Whenever your code is unclear, you should consider whether you need to clean-up the code, or whether you have to add a comment. Comments don't resolve the real issue, and they should be a last-resort in correcting difficult code.
Feb
28
comment Is writing comments inside methods not a good practice?
...I agree, but you can also explain the "why" in code. Sometimes this means wrapping a system-call inside a well-named method; comments are not the only means of explaining why
Jan
25
comment Ternary operator considered harmful?
Operators don't kill people, code from bad developers kill people
Dec
27
comment Which things instantly ring alarm bells when looking at code?
@Steve314 -- I agree, there is always a minimum level of complexity that can be reached, and in some/many cases the result is still quite complex. Rather than leaving it in a single method though I would consider refactoring into a new class of simple methods
Nov
12
comment Do I need to understand algorithms and data structures to be called a programmer?
"software simian" is always the preferred terminology
Nov
12
comment Entity Framework book 1st Edition
np... it's a little like Monty Python. "Thou shalt count to 1, and onto 4. Thou shalt not count to 2, unless referring to 4, and 3 is right out! Zooooooey and zoooooooooo-pang! nyaneehh"
Nov
11
comment Should I return from a function early or use an if statement?
eww. Is that pre-validation? Or is it in a validation-dedicated mehtod DoSomeFunctionIfSomeCondition?
Nov
10
comment Would you put your stackoverflow profile link on your CV / Resume?
It's always a good response to the "what programming-related activities do you do outside of work?" question.
Nov
10
comment Entity Framework book 1st Edition
Yes and no. EFv4 greatly expanded on EFv1, but didn't upset most of the basic principles--however EFv1 required knowledge of many sharp-edges, which have been remedied by EFv4. So, technically you could learn EFv1 then expand into v4, but my advice is to go straight to learning v4-specific knowledge--v1 is essentially beta.
Nov
10
comment Entity Framework book 1st Edition
@Jeff V is correct. EFv4 was named as such to align with .NET 4; however it is the second-release of EF (in other words, the only versions of EF are EFv1 and EFv4--making "version 2" a bit ambiguous as it does indeed refer to EFv4)
Nov
4
comment Is it ever ok to have an empty catch statement?
Like @Michael says -- it's not quite empty since you've got the comment there; it should be obligatory to add a "this catch intentionally left blank" comment if there isn't a statement
Nov
2
comment What makes C developers so curious if “i++ == ++i”?
it's still important to understand the differences in C# -- just because you seem to only use them in for/each loops doesn't mean that's the only place you'll find them
Oct
29
comment What technologies or techniques senior developers of today should *unlearn*
The thing to unlearn is when to use techniques; not the techniques themselves.
Oct
27
comment Is Entity Framework ready for production?
Working with both is a great way to learn how to work with both. It's a little like learning both VB.NET and C#--you ask questions when you see differences, and asking those questions greatly enhances your understanding in the end.
Oct
27
comment Maintainability of Boolean logic - Is nesting if statements needed?
good to know. I'm not familiar with Delphi but in C# you can be confident in the && and || operators performing short-circuit evaluation. Going from one language to another usually has some gotchas, and it's good to be firm about doing code reviews to help catch those little issues.