Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Need - macros feature
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Pierre Barbier de Reuille, post: 4522438"] The good question is: what for ? In the case of the accessors, the methods are define when the class is evaluated ... but when it is used, there is no difference between accessors defined that way and accessors defined the Hard Way (tm). The Good Thing (tm) with a dynamic language as Ruby is you can safely generate your code (or parametrize it) so as to avoid lot of typing, without any need for another macro-language, so why not using this capability ? Pierre [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Need - macros feature
Top