Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
exdsq
· 6y ago · 0 comments
Which is a function.
Comments
[–]
JoeNr76
6y ago
It might start out as a function, then become a factory, then an object and if you bind your test to the implementation details of this code, you will have to rewrite your test every time you refactor your code. Not ideal.