756 reputation
511
bio website anotherchris.net
location United Kingdom
age 36
visits member for 4 years, 3 months
seen Oct 24 at 18:03

London, UK


Dec
12
comment Is path coverage stronger than condition coverage?
The example you give is also known as boundary testing
Jun
16
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
Now define well written code :)
Jul
4
comment I've inherited 200K lines of spaghetti code — what now?
Nice quote I read recently that's sort of related: "Software is the only engineering field that throws together prototypes and then attempts to sell them as delivered goods"
May
25
comment When using method chaining, do I reuse the object or create one?
@NimChimpsky yeh I can see how fluent is a big leap forward for Java
May
25
comment When using method chaining, do I reuse the object or create one?
@NimChimpsky what happened to good old fashioned (for C#) properties, and a constructor that has the fields that are required - not that I'm blasting Fluent APIs, I'm a big fan but they're often overused
May
14
comment Are comments considered a form of documentation?
Is YANGNI "you ain't not going to need it"
Feb
29
comment Should developers enter bugs into the bug tracking system?
Isn't this entirely dependent on the organisation you work for. For example Microsoft will have a very form way of doing testing, while small companies expect developers to do usability test
Feb
10
comment Is it a good practice to name the returned variable “result”?
Bob Martin's advice/observation that we spend 90% of our time reading code is a good mantra to live by for naming. Which would make it more 'human' to you if you were reading it - return rtval or return result?
Feb
10
comment Is it a good practice to name the returned variable “result”?
return @return;
Dec
22
comment Is it considered bad practice to have PHP in your JavaScript
Just remove the "in your javascript" part and you have the answer :)
Dec
22
comment Using SVN poorly - is Mercurial the answer?
It's not really about tools, unless you've got superior ones to compliment the source control provider like github, bitbucket
Dec
22
comment Using SVN poorly - is Mercurial the answer?
You sound like an Eddie (ericsink.com/scm/scm_branches.html) - branching too often
Dec
22
comment Using SVN poorly - is Mercurial the answer?
@angelo Of course not, unless you're in charge of that team. There must be a reason a lot of large projects, e.g. linux and companies are no longer using subversion anymore, I can think of two other reasons besides mangling your filesystem.
Dec
21
comment Using SVN poorly - is Mercurial the answer?
Can anyone who prefers SVN over Mercurial/Git/TFS etc. explain to me how you tolerate it putting a .svn folder in every single one of your folders?
Dec
14
comment How do quick & dirty programmers know they got it right?
A counter-argument to unit tests: how did people know their code was "correct" before the days of unit test frameworks? The source code for BSD, for example
Dec
14
comment How do quick & dirty programmers know they got it right?
Often "simply don't understand all of the potential failure modes" can be replaced with "don't care". The point of caring (for me atleast) is that it saves you stress, headaches and overtime later on
Nov
15
comment Is there a language or design pattern that allows the *removal* of object behavior or properties in a class hierarchy?
Doesn't objective-C break this principle?
Nov
1
comment Is there a way to combat Sales perpetually overcommitting?
Is the company Adobe?
Oct
19
comment Are there any jobs in the programming field that don't require you to sit at a desk all day?
Most jobs in western society now involve sitting behind desks (as they involve computer use), I wouldn't say it's restricted to programming
Oct
19
comment To branch or not to branch?
Great answer, one for the faves