Open seananderson opened 6 years ago
Quang has a nice example: https://github.com/quang-huynh/MLZ https://github.com/quang-huynh/MLZ/tree/master/inst/include https://github.com/quang-huynh/MLZ/blob/master/inst/include/functions.h https://github.com/quang-huynh/MLZ/blob/master/inst/include/ML.h
Would make it easier to read and maintain — especially as complexity is added.
This is a good, note though that in C++ the implementation needs to be kept separate from the interface, i.e. need a CPP file for each H file. See my upcoming commits
Quang has a nice example: https://github.com/quang-huynh/MLZ https://github.com/quang-huynh/MLZ/tree/master/inst/include https://github.com/quang-huynh/MLZ/blob/master/inst/include/functions.h https://github.com/quang-huynh/MLZ/blob/master/inst/include/ML.h
Would make it easier to read and maintain — especially as complexity is added.