Viewing profile — ShaunCodeweaver
ShaunCodeweaver
HN member- Joined
- Mon, Jan 23, 2012, 8:52 AM UTC
- HN karma
- 20
- Public activity
- 17 items
- HN profile
- View on Hacker News ↗
About ShaunCodeweaver
No profile information was provided.
Recent public activity
-
comment
Comment #5673029
Very much this - though I've experienced this in other stacks. Would love to know the best way people handle this.
-
comment
Comment #5570561
I totally agree, but even just the basics can be a great addition. What I find odd is even just simple things such as pre or post conditions don't appear to be used widely, let alo…
- story
- story
-
comment
Comment #4748412
What lmm said is spot on. If your paranoid about null pointers in C/C++, use asserts or static analysis.
-
comment
Comment #4748241
"Anyway, this gets used lots of times by my algorithm" You've got a missing class. The fact you're so concerned with testing it highlights this. The fact it's private I should be f…
-
comment
Comment #4748129
This article is wrong in numerous cases. Testing private methods? Wrong. Don't do this. They'll be covered by your public API, if they aren't, delete them. If you need to test code…
-
comment
Comment #4663749
Care to expand givan?
- story
- story
- story
-
comment
Comment #3832039
Despite usually hating viewing slides without the presentation, I actually find this style very good for getting the point across. Hammer down and there are some good quotes/ideas …
- story
- story
-
comment
Comment #3504676
Exactly. Refactoring is the process of changing code without changing behaviour. If that means you change some tests so be it. There is no rule to say that you can't do this, but m…
-
comment
Comment #3500199
That's right Colin. I completely agree, however if you break unit tests during a refactor, yet there is no functional change - bin the tests as long as you have end to end tests hi…
- story