Hi anyone who's interested.
I'm thinking of tidying things up in order to make future development a bit easier. While what we have works, and no change is required (apart from potential mistake, #11), it might be good to clean it up a bit so that we've got faith that everything is working properly.
The plan is:
Create a matjags folder to contain matjags.m, but also break out all the functions into separate files (in a private folder). The motivation is to make adding unit tests easier. The only potential (very minor) downside is that people have to add this folder to their path, rather than just make sure the matjags.m file is in their project dir.
Create a separate examples folder. These could form the basis of some integration tests.
Keep the core manner in which matjags.m is called the same as it is. Ie avoid breaking existing code.
Feedback welcome before I just decide to do stuff :) Previous versions of are always available to people of course.
PS It's not like I have tons of spare time on my hands, but I've been learning to improve my coding skills from the baseline of "mediocre self-taught scientist coder".
Hi anyone who's interested. I'm thinking of tidying things up in order to make future development a bit easier. While what we have works, and no change is required (apart from potential mistake, #11), it might be good to clean it up a bit so that we've got faith that everything is working properly.
The plan is:
matjags.m
, but also break out all the functions into separate files (in a private folder). The motivation is to make adding unit tests easier. The only potential (very minor) downside is that people have to add this folder to their path, rather than just make sure thematjags.m
file is in their project dir.matjags.m
is called the same as it is. Ie avoid breaking existing code.Feedback welcome before I just decide to do stuff :) Previous versions of are always available to people of course.
PS It's not like I have tons of spare time on my hands, but I've been learning to improve my coding skills from the baseline of "mediocre self-taught scientist coder".