[Smtk-developers] Pie in the sky
TJ Corona
tj.corona at kitware.com
Tue Mar 20 17:09:58 EDT 2018
> the "no superfluous directories" rule
When was this made a rule? I LOVE superfluous directories! ;-)
> On Mar 20, 2018, at 5:02 PM, David Thompson <david.thompson at kitware.com> wrote:
>
>> Maybe we could do something like
>> Core/smtk/{attribute, mesh, model}/binding/{json, pybind11}/{Pybind, json}Resource.{h, cxx}
>
> Hrmmm, to me that feels like adding an extra directory (named "binding") without reason compared to the "just add them to subdirectories of where the source actually lives":
>
> core/smtk/{attribute, mesh, model}/json/jsonResource.{h,cxx}
> core/smtk/{attribute, mesh, model}/pybind11/Py{Attribute, Mesh, Model}.cxx
>
> extension/smtk/{attribute, mesh, model}/json/jsonExtensionClass.{h,cxx}
> extension/smtk/{attribute, mesh, model}/pybind11/PyExtensionName.cxx
>
> without gaining any of the benefits of separating code from different libraries.
>
> I'm OK with breaking the "no intermingled source" rule and putting the json/python stuff inside core/smtk/foo/{json,pybind}, but not the "no superfluous directories" rule that adding core/smtk/foo/binding/{json,pybind} entails.
>
> David
More information about the Smtk-developers
mailing list