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
