Y
Hacker News
new
|
ask
|
show
|
jobs
by
yCombLinks
22 days ago
No, you've created a generic condition checker, which is where all of your complexity comes from. Further, you've left the actual check to be duped in all callers.