Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
peeters
on Dec 21, 2014
|
parent
|
context
|
favorite
| on:
FizzBuzz Enterprise Edition
The sad part is that there is actually an advantage to abstracting out the printing of fizz and buzz, and that is it will be easier to test. But the authors didn't even swap in a testable printing strategy, they just changed System.out.
coldtea
on Dec 21, 2014
|
next
[–]
Some things it's better NOT to test, rather than create an overengineered mess to facilitate testing.
Sometimes a fuzzbuzz is just a fuzzbuzz. A.k.a: KISS, YAGNI, etc...
alxndr
on Dec 21, 2014
|
prev
[–]
Send a pull request!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: