Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Some programs have to be hard to read.

by Ovid (Cardinal)
on Oct 22, 2004 at 13:20 UTC ( #401467=note: print w/replies, xml ) Need Help??

in reply to Re^3: Perl 6 critique is a good thing
in thread Perl 6 critique is a good thing

DrHyde wrote: Same applies to perl code that is hard for a fluent perl coder to read. It's crap code.

If you can't read my "hello world" program, you're right. My program is crap. However, some problems are hard. There is no easy way to solve them and thus there is no easy way to express them. For example, most people do not refer to Damian Conway's modules as "crap", but frequently one finds them to be crap by your definition. While Damian can be viewed as an extreme case, it's because he chooses to solve extreme problems. I've worked with chromatic before and I've seen him write some head spinning code -- but not for "hello world."


New address of my CGI Course.

Replies are listed 'Best First'.
Re: Some programs have to be hard to read.
by DrHyde (Prior) on Oct 25, 2004 at 09:07 UTC
    Fair point. Clearly hard problems sometimes need complex solutions, and maybe I won't understand the algorithm. But the sort of simple stuff that the vast majority of us write day in and day out at work is not in that league.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2023-09-28 17:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found