I'm trying to add printing functionalities to physics.vector.point.Point 
and looking at other printable objects in the package I've noticed that 
there are at least two ways of going about this. I've seen classes 
inheriting from printing.defaults.Printable and then implementing the 
required methods for printing inside the class definition (e.g. 
physics.vector.vector.Vector) and I've seen methods being implemented 
directly into the printer (e.g. vector.basisdependent.BasisDependent). My 
question is: which way of handling printing is preferred?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c478a183-ced3-4971-b851-0f8128cbd1b6n%40googlegroups.com.

Reply via email to