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

Re: Re: Re: Simplifying code (Not obfuscation)

by Molt (Chaplain)
on Mar 04, 2003 at 11:38 UTC ( #240299=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Simplifying code (Not obfuscation)
in thread Simplifying code (Not obfuscation)

Just in case you don't realise what was meant.. Golf is where Perl programmers try and get a reasonably simple task completed in the least number of (key)strokes. As such it's not quite obfuscation, but it's a very close relative.

Golfing in everyday code is generally a very bad thing as it results in Perl that consists of streams of delicate logic which are very unreadable, and even less maintainable.

  • Comment on Re: Re: Re: Simplifying code (Not obfuscation)

Replies are listed 'Best First'.
Re: Re: Re: Re: Simplifying code (Not obfuscation)
by 2mths (Beadle) on Mar 04, 2003 at 11:50 UTC
    I have met Golf before, though I don't play (for obvious reasons :-). Actually it was a private message explaining Golf in response to a post on beginners@perl or similar that directed me towards PMs

    Very interesting to read your post, probably even more interesting to finally understand it at some point.

    Forgive me if I don't emulate your solution in my code though :-)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-12-03 22:34 GMT
Find Nodes?
    Voting Booth?

    No recent polls found