Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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.


Comment on Re: Appropriate amount of abstraction

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-09-30 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (385 votes), past polls