Reputation
3,152
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
11 27
Newest
 Nice Answer
Impact
~304k people reached

Mar
22
answered Scrum: What to do with epics once the stories are clear?
Mar
22
comment Unit Testing in a “no setter” world
Why is it bad in production? (Really, I'd like to know). Sometimes it's necessary to recreate the precise state of an object at creation... not just a single valid initial object.
Mar
20
revised What problems can be solved using Generics?
added 20 characters in body
Mar
20
revised Programming with Dyslexia
Fighting the grammar nazis. :-)
Mar
20
revised What problems can be solved using Generics?
addition based on question edit
Mar
20
answered What problems can be solved using Generics?
Mar
19
comment Machine Learning Algorithm for Heating/Lighting Optimization
@andyopayne: Robert gives some excellent advice.
Mar
19
comment Machine Learning Algorithm for Heating/Lighting Optimization
Most examples I've seen don't need to delve into any of the algorithms. Have a look at fuzzy controllers. They don't tend to need much "learning" (unless you count calibration as learning), but they do give a way of relating qualitative statements about comfort to what you should do with the heating / cooling system.
Mar
19
comment How valuable for my career is working on an extremely primitive platform?
Is there a pin-compatible chip that has more RAM / ROM ? Check out its cost. If you can cram more functionality into a chip with more memory by using a better development methodology that might spark your bosses' interest.
Mar
19
comment Machine Learning Algorithm for Heating/Lighting Optimization
Why do you think you need machine learning to solve this problem? It's not clear what your problem is that you are trying to learn about. What sort of HVAC equipment are you using to control the temperature / humidity / air flow ?
Mar
18
comment Unit Testing in a “no setter” world
@pdr: Either that, or your design is too brittle! :-)
Mar
18
comment Unit Testing in a “no setter” world
I've yet to see a unit test which could only fail for a single possible reason. Also, you can put the "state manipulation" parts of the test into a setup() method --- not the test itself.
Mar
18
comment Unit Testing in a “no setter” world
Understood. Your example did not mention many more properties, and the number in the example is "on the cusp" of having this as a valid approach. It seems that this is telling you something about your design: you can't put your object into any valid state on instantiation. That means you need to put it into a valid initial state, and them manipulate it into the right state for test. That implies Lie Ryan's answer is the way to go.
Mar
18
comment Unit Testing in a “no setter” world
No -1 from me, but including test code in production is generally a Bad Thing(TM).
Mar
18
answered Unit Testing in a “no setter” world
Mar
13
comment System requirement specification vs functional one - separate docs?
@Downvoter: Feedback to improve appreciated!
Feb
25
awarded  Constituent
Feb
19
comment Is is acceptable to create mediocre code now in preparation for new language features?
YAGNI -- You Ain't Gonna Need It.
Feb
18
awarded  Caucus
Feb
16
comment Software Engineer and IT Professionals
This guy had the title "Minister of Algorithms". No typo, either. :-)