Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
geforce
· 7y ago · 0 comments
The specification pattern can also be used to replace multiple IFs. If you look at Wikipedia, they propose a quite full-fledged and complex specification pattern, but it is possible to make a more lightweight one for your needs.
Comments
No comments yet.
Better HN