@Fredrik: enlightenment and understanding are my targets too. That's why i love to talk about such topics as well. And my position, when it comes to a daily job, is:
i would use your helper if i would contribute to your projects, and hell, yes i would contribute to your projects, if i had time and interest on the topics there. but i also would ask you, why do you use such a helper and try to trigger your thinking about it as well :). the worst thing is not that people use class-emulating helpers and libs, the worst thing is when they do it to avoid the confrontation with the language and it's internals. ignorance is the enemy, not tools. you said, one has not to be an expert, but a knowledge about fundamental concepts of the language is crucial. But many some developers just see "Class" and shutdown exploration mode in their brains, asume a paradigm, that isn't there, and wonder then, why JS is so lame. Am Montag, 12. November 2012 13:47:26 UTC+1 schrieb Fredrik O: > > Hi Bruno, > > It was nice to hear, thanks for sharing that information. > > greelgorke: > > I seek enlightenment and understanding in general. I wanted to get people > thoughts and why they have those thoughts, by using as much as possible > real arguments/fact, even if it may be hard within a subject like this. > Thanks for your contribution (and everybody else for that sake) to this > thread anyway :-) > > Den fredagen den 9:e november 2012 kl. 23:05:47 UTC+1 skrev Bruno Jouhier: >> >> Hi Frederik, >> >> I wrote a helper very similar to yours (with a little plus: a concise >> syntax for property getters and setters) early in our project. >> >> I just did a grep and we now have more than 250 classes in more than 200 >> modules defined with this helper. The helper keeps our code lean, >> consistent, well organized and pleasant to read. And, unlike some of the >> fancier helpers, it does not impact performance. Looking back, this is a >> total winner. >> >> If this can make you feel better.... >> >> Bruno >> > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
