in reply to How about class Foo {...} definition for Perl?
I also use this to introduce Perl developers that don't know very well OO in Perl, but know in Java, to the OO development, since everything that we develope need to be in OO style.
What's the benefit of using Perl then? You might as well use Java.
Any good developer should be able to pick up the syntax — and idioms — of a different language fairly soon after he understands their relationship to the actual concepts.
With that said, I do like the approach of writing out the generated files instead of running the filter on each invocation. Sometimes that kind of code generation works out really well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How about class Foo {...} definition for Perl?
by gmpassos (Priest) on Jan 17, 2004 at 23:24 UTC | |
by chromatic (Archbishop) on Jan 18, 2004 at 00:14 UTC | |
by gmpassos (Priest) on Jan 18, 2004 at 01:25 UTC | |
by gmpassos (Priest) on Jan 18, 2004 at 06:45 UTC |