Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jayd16
on May 28, 2020
|
parent
|
context
|
favorite
| on:
The use of `class` for things that should be simpl...
You do not want to test private implementation. You should be testing the public contract only. Reaching in and making private things public crystallizes the implementation and reduces your ability to refactor.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: