Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: What's the biggest piece of work you've done alone with Perl?

by Juerd (Abbot)
on Apr 22, 2003 at 00:24 UTC ( #252167=note: print w/ replies, xml ) Need Help??


in reply to What's the biggest piece of work you've done alone with Perl?

What is the largest system|code|site you have (>=90% of the work was your own) supported|created|inherited which was primarily in Perl?

I don't know since most of my projects are under 2000 lines of code (Perl's too damn powerful).

What are the main strategies that allowed you to pull it off?

K.I.S.S.
No feature overkill, no complex designs, no bureaucratic nonsense.

Other than that, document every choice and every API for you WILL forget the specifics.

What are the main techniques|modules that allowed you to pull it off?

Stuff things in modules if it makes sense. Use OO where it makes sense. Release code you use in almost every project to CPAN (let others discover bugs for you so you can fix them before things go terribly wrong *grin*). That's why PLP, DBIx::Simple, again and Exporter::Tidy are on CPAN. They wouldn't be if I didn't use them myself.

how about a bulleted list?

Bulleted lists form a great strategy, a reasonable technique and perhaps a nice module. But they're a terrible brand of coffee!

What was the single biggest mistake (most costly to your own time) you made while doing it?

Not documenting was my biggest mistake. Lack of documentation saves time at first, but takes a LOT of time when you need to change the code a few years later.

Another VERY big mistake was starting to code in Perl without actually knowing the language well enough. I do know Perl quite well now, but my old code is disastrous. Even though I did make enough money off my first projects to start my own business, I do regret that I did not wait another year or maybe two. And I wish I had a good book back then: I learnt most of what I know about Perl from perldocs and IRC.

One very good thing you can do is letting people here and on IRC review your code. Disclosing source usually also means tidier code :)

Another piece of advice: choose a readable and CONSISTENT programming style. Whitespace DOES matter!

Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).


Comment on Re: What's the biggest piece of work you've done alone with Perl?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://252167]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-08-01 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (4 votes), past polls