Re: [JSMentors] JavaScript quirks for teachers

2012-01-13 Thread gamera
I am against the use of linter in the context of teaching. Linters are tools to aid production, in the context of teams with differently skilled developers. Teaching should be more about facts, and not shortcuts. The ECMA-262 standard is a better source of information, IHMO, or the excellent ser

Re: [JSMentors] Naming convention for constants

2012-01-12 Thread gamera
On Jan 12, 2012, at 1:43 PM, Matthias Reuter wrote: > gamera wrote: > >> On Jan 12, 2012, at 12:49 PM, Matthias Reuter wrote: >> >>>> Guidelines are opinionated by design. >>>> Those two in particular spread FUD. >>> >>> Actually, I f

Re: [JSMentors] Naming convention for constants

2012-01-12 Thread gamera
On Jan 12, 2012, at 12:49 PM, Matthias Reuter wrote: >> Guidelines are opinionated by design. >> Those two in particular spread FUD. > > Actually, I find both quite useful. Could you elaborate on what parts are > "FUD" and why? just to name few: - avoid ASI. why? better to understand how it wo

Re: [JSMentors] Naming convention for constants

2012-01-12 Thread gamera
On Jan 12, 2012, at 12:59 PM, Poetro wrote: > 2012/1/12 gamera : >> Guidelines are opinionated by design. >> Those two in particular spread FUD. >> >> On Jan 12, 2012, at 12:24 PM, J.R. wrote: >> >>> I try to follow these two guidelines: >>&g

Re: [JSMentors] Naming convention for constants

2012-01-12 Thread gamera
Guidelines are opinionated by design. Those two in particular spread FUD. On Jan 12, 2012, at 12:24 PM, J.R. wrote: > I try to follow these two guidelines: > > - Google JS Style Guide: > > > - Dou

Re: [JSMentors] Select, filter, then run vs. run on all from unfiltered list

2012-01-09 Thread gamera
i would say the opposite: for long term maintainability, is better to not rely on a third party library to perform such a simple task. Also, we should use more ES5, since also m$ endorsed it, writing polyfills when/if necessary. var nodes = document.querySelectorAll('#x tr.zebra') , i = 0 ,