Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And he should have used a CHAIN OF RESPONSABILITY pattern instead of the IF/ELSE to handle each case , and the FOR loop should have been handled by a STATE PATTERN , finally the system.prints require a full BUILDER to decouple datas from rendering triggered by COMMANDS , that work is indeed "amateurish" , especially without a SERVICE LOCATOR.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: