Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Appropriate amount of abstraction

by bwelch (Curate)
on Nov 15, 2004 at 06:35 UTC ( #407781=note: print w/replies, xml ) Need Help??

in reply to Appropriate amount of abstraction

I agree, it depends.

Considering one case where a new perl programmer has a good understanding of all the abstraction is replacing, things are likely fine, aren't they? For example, could they likely code it without the abstraction so it works, albeit not as cleanly and with more effort? Perhaps the coding requirement above isn't needed. If the programmer clearly understands all the things that are happening using the abstraction, maybe things are fine without learning the details.

As I learned recently, sometimes a cost in using the abstraction isn't noticed initially. A c program called by a script ended up needing considerable memory.

So, many considerations exist.

  • Does they understand what exactly is happening?
  • Are they any costs (i.e. time, memory) that should be avoided?
  • Is the task being overly simplified or wrongly performed due to use of the abstraction?

It's very late, so I'd best leave continuing this list to my fellow monks.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-09-22 18:17 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (129 votes). Check out past polls.