Live data from Hacker News

Viewing profile — ShaunCodeweaver

ShaunCodeweaver

HN member
Joined
Mon, Jan 23, 2012, 8:52 AM UTC
HN karma
20
Public activity
17 items

About ShaunCodeweaver

No profile information was provided.

Recent public activity

  1. comment
    Comment #5673029

    Very much this - though I've experienced this in other stacks. Would love to know the best way people handle this.

  2. 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…

  3. story
  4. story
  5. comment
    Comment #4748412

    What lmm said is spot on. If your paranoid about null pointers in C/C++, use asserts or static analysis.

  6. 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…

  7. 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…

  8. comment
    Comment #4663749

    Care to expand givan?

  9. story
  10. story
  11. story
  12. 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 …

  13. story
  14. story
  15. 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…

  16. 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…

  17. story