[Bf-committers] Python RNA Type Registration

Stephen Swaney sswaney at centurytel.net
Mon Mar 1 20:35:39 CET 2010


Some general design principles:

Any time you have to do a specific set of operations in a specific
order, you are better off packaging up that functionality in some way.
Relying on coding it correctly each time is error prone and unnecessary.

Duplicated information is bad.  Keeping lists in sync by hand is error
prone, better to automate the process and hide as much as possible.

Bottom line:

Metaclassing hides more of the inner workings of types and
registration and presents a simpler interface to the scripter.  This
is the preferred solution.

-- 
Stephen Swaney			
sswaney at centurytel.net



More information about the Bf-committers mailing list