[Smtk-developers] Crazy idea for representing View information
Ben Boeckel
ben.boeckel at kitware.com
Mon Sep 18 09:41:16 EDT 2017
On Mon, Sep 18, 2017 at 08:57:58 -0400, David Thompson wrote:
> That's a good idea but it may not satisfy the principle of minimum
> astonishment; I could get a Python dict for the view info but if I
> modify it, the view spec would be unchanged. #1 above would behave the
> same way, but #2 would force them to be synchronized.
Hmm, true. I guess pybind11 wrapping that maps it to a dict-like
interface is best.
--Ben
More information about the Smtk-developers
mailing list