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

> These patterns have failed us in the past.

Indeed.

> Javascript does not need these! Javascript is not a classic object oriented language.

No language needs these. To me the GOF patterns have always been wisdom as opposed to a solution. When you are dealing with the interaction between complex systems you can refer to the knowledge that GOF patterns provide.

GOF patterns basically say "this is one way to solve problem X." It is my belief that they never say "this is the actual way to solve problem X." In fact I've found that they are often bad solutions within the context of the problems I solve. Exact copies of them only work in rare academic scenarios.

TLDR; You'll find lots of GOF inspiration in my code, however, you'll never find a text-book GOF implementation in my code.



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

Search: