2,422 reputation
821
bio website nichesoftware.co.nz
location Wellington, New Zealand
age 42
visits member for 3 years, 9 months
seen May 27 at 21:50
Professional software developer in Wellington, New Zealand.

Oct
19
answered Pushing complete notifications to client
Sep
29
awarded  Yearling
Sep
25
awarded  Pundit
Jul
14
comment What's the difference between college-level and corporate programming?
I agree that a professional programmer never stops being a learner - but not that being paid makes you a professional. I've met many amateurs who got paid to write terrible terrible code. Professional is about doing the job right - and doing the right job - not about being paid to churn out code.
Jun
19
comment What is the reason for using lowercase for the first word in a local variable (eg, employeeCount, firstName)
@oscilatingcretin There's plenty of research that shows consistency significantly decreases the cognitive effort required to understand something you're reading. For regular prose, bad spelling, poor punctuation and lousy grammar all make it harder for someone to read - whether they notice it consciously or not. Code is hard enough to read, without making it harder - adherence to the "common standard" (for your technology stack of choice) increases overall consistency, and frees up neurons to concentrate on the important business of what the code does, instead of how it is written.
Jun
8
awarded  Nice Answer
Jun
4
comment Object design where hard-coded values are used to instantiate objects?
@KoreyHinton Check out yUML - a great little tool for this kind of "off the cuff" diagram.
Jun
2
comment Object design where hard-coded values are used to instantiate objects?
From what I know of the Decorator pattern, it's not heading in the direction you want. However, my python is virtually non-existent (my 12 year old son knows more), so I'm not really qualified to judge the code in that post. That said, a Google search led me to this: Dependency Injection the Python Way
Jun
2
answered Object design where hard-coded values are used to instantiate objects?
Apr
24
comment Unit Test code generation
You might want to look at Approval Tests - they are a good fit for the situation you describe and you may well be able to generate some good ones.
Mar
26
awarded  Nice Answer
Mar
16
awarded  Critic
Mar
4
comment How to make creating viewmodels at runtime less painful
Not a complete answers, so putting as a comment ... you don't need to implement your own Factories. Not sure about Castle Windsor, but with NInject you just declare a factory interface with method declarations containing just the information you need to pass to the new instance. All other dependencies are handled by the framework.
Feb
3
revised Is the average number of bugs per loc the same for different programming languages?
added 544 characters in body
Feb
3
comment Is the average number of bugs per loc the same for different programming languages?
Which edition of Code Complete do you have @RocMartí? I know that the second edition was a major update. Will have to dig it out and see what it says when I get to work Monday.
Feb
2
comment Can I turn off Visual Studio white space at bottom of code files?
FWIW I find this feature useful. When I'm writing a method, I like to see the whole thing on screen. Without this feature, adding lines within the last method of a class would inevitably result in the end of that method disappearing out of view. Plus, I prefer to write code in the top half of a window while I'm happy to read it anywhere. Virtual white-space accommodates my idiosyncrasies.
Feb
2
answered Is the average number of bugs per loc the same for different programming languages?
Jan
31
comment Algorithm for finding overlapping times
+1 Smart and efficient.
Jan
23
awarded  Good Answer
Dec
13
awarded  Quorum