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

Re^7: "Cleverness" from HOP

by gwadej (Chaplain)
on Jun 11, 2009 at 20:19 UTC ( #770756=note: print w/ replies, xml ) Need Help??


in reply to Re^6: "Cleverness" from HOP
in thread "Cleverness" from HOP

I suspect that the programmer in question became enamored with his solution and did not consider whether or not it was warranted. This seems to be one of the hallmarks of clever code. The programmer spends much time and effort because he's found a cool new technique or because he's impressed with his solution.

I guess for me, the difference between clever code and code that uses advanced techniques is very much whether or not the problem requires the extra complexity.

G. Wade


Comment on Re^7: "Cleverness" from HOP
Re^8: "Cleverness" from HOP
by ikegami (Pope) on Jun 11, 2009 at 21:16 UTC

    I suspect that the programmer in question became enamored with his solution and did not consider whether or not it was warranted

    Exactly. Focused on his solution, no thoughts or foresight about anything else. This is what I said that you seemed to contradict.

      I guess I'm not being clear enough. I was trying (and failing, obviously) to distinguish between a naive implementation that did not consider future expansion (the N^3 algorithm I mentioned at the bottom) and an overly-complex solution that did not meet current needs.

      To some extent, I guess they are points on an implementation spectrum caused by the same problem...focusing solely on the solution, not the problem.

      Thanks for helping me clarify this in my own mind.

      G. Wade

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (20)
As of 2014-07-30 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (239 votes), past polls