Replies: 1 comment
-
|
This seems like a good idea, such that we don't "silo" the code we grab from other places (And for the licensing reasons!). A possible alternative While there is nothing wrong per say with this duplication, we might be obfuscating the capabilities of our software for new users and developers, by having multiple sections of code that does basically the same thing, but a little different. But I think that this may be a per situation evaluation by the maintaners that should be perfomed (And I find it reasonable to ask me to expand upon the Mccode parser to include this kind of math interpretation). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The dilemma
For small inclusions of functionality (i.e. ~ single file) “from elsewhere” it is tempting to just dump a local file in the McCode repo.
While this seems easy here and now, it may pose challenges later on when the “upstream project / resource” make a new release / fix a bug etc., especially since updating the included code is no longer automated. Any local edits complicates this manual approach even further.
Depending on licensing situation of the upstream code wrt. McCode (GPL 3) this approach may also be problematic.
Example case
A recent example is the inclusion of the union process
Inhomogenous_incoherent_processthat relies on functionality from tinyexpr, in the form of including the flat filestinyexpr.candtinyexpr.hintomcstas-comps/share. The files have since been modified locally from their upstream counterparts.My first suggestion for a better way
I think we ought to rather
mccode-tinyexprBeta Was this translation helpful? Give feedback.
All reactions