Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-10-22 12:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.