clifford icon indicating copy to clipboard operation
clifford copied to clipboard

make Cl() return layout only , why do we have Cl()?

Open arsenovic opened this issue 5 years ago • 2 comments

since blades are in layout, Cl() doesnt need to return a tuple of layout, blades, rather it could just return layout. this would make for mildly cleaner code. this will break things, so its worth considering. also i think we could consider changing Cl() to ga(), so we can write

g3 = ga(3)

could even remove the a, so its g3 =g(3), since its a method. which brings up the point, why are we not just using the layout constructor? couldnt the stuff in Cl() be moved into Layout.__init__? and why isnt Layout called Ga or G or whatever,

arsenovic avatar Jul 23 '18 14:07 arsenovic

This definitely sounds sensible but isn't really a pain point for me atm, it works at the moment even if it is kinda weirdly done

hugohadfield avatar Jul 31 '18 12:07 hugohadfield

What does Cl stand for?

eric-wieser avatar Oct 14 '19 07:10 eric-wieser