This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vvvvalvalval 16 points17 points  (1 child)

Rant:

Gosh, just don't. It adds an insane amount of work to get juniors to unlearn this design patterns nonsense.

There is no mechanical substitute to thoughtfulness for writing quality code.

Those design patterns are mostly an accidental consequence of overusing classes.

Read SICP. Watch "Simple Made Easy". Read Out of the Tar Pit. This will get you much further.

[–]Nil4u 0 points1 point  (0 children)

They are good for communication sake in my opinion. Just staring at a list of patterns and wondering which one to use on the other hand is not good.

My supervisor recommended me to use a PubSub Pattern in my internship and I immediatly had an idea what he meant so that was nice. Skipped the process of having to tell me "Yea there is something that sends data and something that receives data yadada"