Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
freemium413
· 5y ago · 0 comments
When I come across a situation like that, i consider the chunk of code reusable and split it into a separate function. It may not be perfect and you might need to make that function more generic than it was but I think it makes sense.
Comments
No comments yet.
Better HN