Functional programming and idea-oriented Git branching strategy
Show older comments
I analyze a set of financial statement data. The end output of this project should be a short list of stocks for investment, not a software release.
This project has two basic characteristics: the data set doesn't change often, and I want to try many different ways to mine it. That renders functional programming the most suitable programming paradigm. (side note: to my experience, oop fits the demand of routine processing changing, hierachical data.)
So far, I have relied on primitive file-copies for version control. It's getting out of hand, so I decide to give Git a try. There have no serious technical problems, and Matlab provides excellent git-project integration and interface.
The question I couldn't find good answer for is a suitable git branching strategy. Though Gitflow model is quite close to what I need, it's still not good enough. See I have two main branches. One is for feature development, which Gitflow has. It would cover the features I code for the project. For example, I have coded a parallel verion of cellfun, which allows me to easily map different fuctions over the fixed data set (functional programming).
Now for the idea part. I have many ideas I want to explore Should I add an extra branch for 'ideas' to the Gitflow model? Though I don't have to produce software release, it seems nice to keep the release branch for tracking project progresses.
I am a newbie for Git. Any feedbacks and suggestions are greatly appreciated.
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!