Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: Perl Elitist Code vs Functional Code

by aaron_baugher (Curate)
on Aug 11, 2012 at 07:27 UTC ( #986871=note: print w/replies, xml ) Need Help??

in reply to Re^2: Perl Elitist Code vs Functional Code
in thread Perl Elitist Code vs Functional Code

the entire post relates to quick hacks nothing that would ever become a full fledged script.

That's kind of the point, though: some people say such a thing doesn't really exist. In their experience, "quick hacks" have a way of growing into larger, more complex programs and being maintained by larger groups of programmers. So it makes sense for them to design all their programs as if that will be the case, even if the need doesn't seem to be there at the start.

On the other hand, some of us have written plenty of quick hacks that have never needed to be expanded, or used and maintained by anyone else -- many were even used once and discarded. That being the case, any amount of time spent making them more than simply "functional" would have been a waste.

Where you fall on a range between those two extremes depends on your own programming style and your work situation -- how often is your code reused or shared with others? Based on those things, you have to make your own judgments about your own coding needs.

Aaron B.
Available for small or large Perl jobs; see my home node.

  • Comment on Re^3: Perl Elitist Code vs Functional Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986871]
[marto]: Beware the one liner :p
[Discipulus]: no, they are my crossword/sudoku like entertainment
Discipulus grins
[marto]: Even with shell command recall I find it less time consuming to do such things in a file.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-09-22 08:30 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (260 votes). Check out past polls.