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

Re^3: CPU cycles DO NOT MATTER!

by Limbic~Region (Chancellor)
on Apr 17, 2008 at 17:00 UTC ( [id://681242]=note: print w/replies, xml ) Need Help??


in reply to Re^2: CPU cycles DO NOT MATTER!
in thread CPU cycles DO NOT MATTER!

dragonchild,
Hrm - let me try again then.

It never matters how inefficient the code anyone writes is. It is never necessary to understand the complexities of algorithms, data structures, profiling, or benchmarking. All anyone needs to do is write code as fast as possible that functions correctly. It is never important to ensure your code scales because CPUs are getting faster than everyone's data is getting larger.

I have already agreed with your sentiment and am not arguing that you are wrong. I am pointing out that what you have said may not come across as a rule of thumb to everyone. In fact, the way you have bolded it, upper cased it, and followed it with an exclamation point - you have made it seem like there is no room for discussion. If you take your argument to one possible logical conclusion, it becomes ridiculous.

"You're using Perl because it's at that sweet spot between simple and expressive

That is a bad starting assumption. Why don't you come hang out in #perl on freenode some night. There is no end to the number of people using perl (and PHP) because they do not seem to be competent enough to learn any other language. The task at hand may already be borderline at best for being done in perl. Throw in inexperience and lack of knowledge and it will never accomplish the goal - no matter how long you let the CPU spin.

Cheers - L~R

Replies are listed 'Best First'.
Re^4: CPU cycles DO NOT MATTER!
by dragonchild (Archbishop) on Apr 17, 2008 at 17:21 UTC
    Never use absolutes, my friend. Never ever. :-)

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Re^4: CPU cycles DO NOT MATTER!
by Cap'n Steve (Friar) on Apr 21, 2008 at 03:54 UTC
    "There is no end to the number of people using perl (and PHP) because they do not seem to be competent enough to learn any other language."

    Hey! I resemble that remark.

    You brought up the point I wanted to address, though. The original post assumes that you know every programming language and they're all available for the project, but you chose Perl. I could theoretically program a CGI script in assembly, but 1: I don't know assembly, and 2: It'd be a little difficult to find a host that allows it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-18 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found