chuanxshi / javascript-patterns

JavaScript Design Patterns

Home Page:http://shichuan.github.io/javascript-patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

would like to see explanations or references

lsiden opened this issue · comments

Beautiful work!

I wish some of the pattern examples had explanations or links to references. For example, in global_selector.js, it would be helpful to see an explanation for why one expression is better than another. Is our optimization criteria for this case performance or clarity?

I agree, explanations of why the anti-patterns (especially some of the jQuery ones) are bad would be useful.

@lsiden @InfernalBadger I have been working on putting description and references inside the code, will make it more self-explanatory.

@lsiden @RichardDalton all the original blogs or articles are referenced.