Hacker News new | past | comments | ask | show | jobs | submit login

I'd say no, design patterns are about mechanism, 'I want to do X, this pattern is how I do it'. In that way they are similar to monads. Pardigms are about a perspective, a vantage point from which you structue your application.

Say dataflow programming, for which Norvig's sentence generator in PAIP is an excellent introduction, one can use a switch/case or an object with functions as values. Both accomplish the same, but in the latter I change the flow of my program by changing a value in a map.




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

Search: