Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: splicing two arrays together

by Anonymous Monk
on Jan 06, 2012 at 08:51 UTC ( #946552=note: print w/ replies, xml ) Need Help??

in reply to Re^2: splicing two arrays together
in thread splicing two arrays together

Thanks Grandfather for those solutions, the best solution I guest is the one that requires the least amount of typing in any language?

Comment on Re^3: splicing two arrays together
Re^4: splicing two arrays together
by choroba (Canon) on Jan 06, 2012 at 09:32 UTC
    Well, it depends. The best solution might be the one that runs fastest, uses minimal memory, or the one that can be easily understood for later maintenance.
Re^4: splicing two arrays together
by GrandFather (Sage) on Jan 06, 2012 at 10:35 UTC

    I'd say the best solution is the one that works correctly, is maintainable and fast enough. Number of lines or characters of code is generally one of the least important criteria. The most important criteria depends a great deal on the purpose of the code.

    True laziness is hard work

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2015-03-03 08:28 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (65 votes), past polls