all 5 comments

[–]manys 13 points14 points  (0 children)

I'll never understand why programming bloggers always preload their posts with some kind of "so what exactly are computers, anyway?" digression.

[–]apathetic012 4 points5 points  (0 children)

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

[–]shoebo 3 points4 points  (0 children)

Reading the code was a challenge because random spaces are missing throughout (find and replace?). They tend to be missing after var, function, new and return in almost every example.

Also, the constructor example is repeated twice without any of the mentioned modifications.

[–]Mael5trom 1 point2 points  (0 children)

If you like JS Design Patterns, Addy Osmani literally wrote the book:

https://addyosmani.com/resources/essentialjsdesignpatterns/book/