Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Legible or Obfuscated?

by tomhukins (Curate)
on Aug 10, 2004 at 17:43 UTC ( [id://381675]=note: print w/replies, xml ) Need Help??


in reply to Legible or Obfuscated?

As tilly suggests, it depends on your reader. If you're writing complex code that inexperienced programmers could never hope to understand, use complex Perl idioms.

Programmers tend to create simpler interfaces around complex code to perform common tasks. Complexity occurs in most systems: hiding it away makes systems accessible to more people, trading off power for accessibility.

If you like patterns, I find Christopher Alexander's intimacy gradient roughly analogous to this. Your code base has complex, private areas that few people need to interact with and simpler, public areas that interact with many more people. Your programming style can vary according to who the code is for.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found