Nelz's Blog

Mah blogginess

LInks - Java Spec and Testing

Testing Will Challenge Your Conventions: http://blog.objectmentor.com/articles/2007/07/17/testing-will-challenge-your-conventions

I loved this post! It vocalizes several things I’ve noticed in my own coding since I’ve adopted an opinionated testing practice. (Though, I should say I don’t 100% agree with all the items:

  • #3 - You can get around a private visibility modifier, using reflection.
  • $4 - Fat constructors may be a smell indicating a refactoring candidate.

)


Java Spec: Measures and Units http://www.javaworld.com/javaworld/jw-10-2007/jw-10-jsr275.html?page=1