Conversation

You have to write classes again, what’s more important?
  • Hide implementation
    53.1%
  • Test all methods
    46.9%
49 votesFinal results
3
1
Proper ADTs are extremely important imho, and you can address the testing part generally by moving tests to the definition module instead of keeping it outside. Though some languages (like Swift) let you violate boundaries in test code, which is an okay approach too.
2
1
(I should add that I strongly prefer co-locating tests and code---they should be in the same module if they're strict unit/proper tests about a particular function or unit there, but I don't think most mainstream languages support this very well, sadly)
2
2