Thanks for answer, everyone :-) Isaacs:
This is exactly what I am doing today, but I want to stop repeating myself, e.g "implement" the DRY principle, but stay 100% compatible with pure JavaScript prototype inheritance. So instead of manually create a function, assign a appropriate prototype to it and call "inherits" if I need to do some inheritance, do it in a automatic function which return a function which have exactly been initialized using this steps. Without it would I need to do all those things manually, no matter how. What is wrong with it? Mark: Thanks, but no thanks. I like the syntax of JavaScript more than CoffeScript, and just adding another language would increase the complexity of my software. Alexey: I have some read some about it, in others programming languages, but have forget about it in JavaScript. Definitely something I should look more into. Thanks for the tip :-) -- 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
