Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: pack and unpack multiple arrays with one common repeat prefix

by kennethk (Abbot)
on Jun 15, 2017 at 22:22 UTC ( #1192902=note: print w/replies, xml ) Need Help??


in reply to Re^2: pack and unpack multiple arrays with one common repeat prefix
in thread pack and unpack multiple arrays with one common repeat prefix

If you are using different algorithms in your coding than in your life, one of the two is sub-optimal. If you know a better way to do it, why are you wasting precious seconds you could be sitting under a tree?

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

  • Comment on Re^3: pack and unpack multiple arrays with one common repeat prefix

Replies are listed 'Best First'.
Re^4: pack and unpack multiple arrays with one common repeat prefix
by chacham (Prior) on Jun 15, 2017 at 22:43 UTC

    That is like saying that a computer should play chess the same way a human does.

    Humans make mistakes, forget, and have limited time to crunch numbers. So, we have methods to help us do things. Computers do not have these shortcomings, and thus can do things that we wish we could do. Also, there are patterns a computer can "see" that an unaided human cannot.

    Computers are not just there to implement human algorithms as if they were macros. They are game changers, and should be used as such. Not that everything you do without a computer should be thrown out. Keep what works best, but make sure you utilize the computer for its strengths, not just its speed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2020-10-21 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (212 votes). Check out past polls.

    Notices?