Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: This is why I use Perl

by Art_XIV (Hermit)
on Nov 10, 2003 at 15:16 UTC ( #305887=note: print w/replies, xml ) Need Help??

in reply to This is why I use Perl

pg -
I can say from experience that you can generate (or at least partially generate) the data-access methods that will generate your value classes, too. It's not very hard to generate classes that will handle simple CRUD/db work, and it can be even easier if you already have a set of stored procedures for data access.

Code-generation can be very fun and highly productive. When done even half-skillfully, it can lead to a larger percentage of bug-free code.

I am often suprised at the number of developers who have no clue about how to proceed w/ code generating ventures. I've come across dozens of degree-holding, experienced developers who would be more than happy to hand-code a hundred or more value classes and their corresponding method calls. I often wonder if it's a matter of simple indifference.

And after many iterations of having used Perl to make some job easier, I find myself asking more and more often 'Why in the h*ll don't I just use Perl for the whole thing?'

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://305887]
[choroba]: Yes, (...)+ only returns the last match
[erix]: hmyeah... I guess I'll just have to figure out some other way
[choroba]: split or while /.../g

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2018-01-19 08:53 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (216 votes). Check out past polls.