Live data from Hacker News

Extremely Linear Git History

westling.dev

1–10 of 366 posts

Re: Extremely Linear Git History

#2
I love linear git! Branches are very confusing for a nonempty set of people. For us, it is always clearer to work with explicit files in the main branch. You are implementing a new feature? Nice: just create a new file on the main branch and keep updating it until you add it to the tests, and later you call it from the main program. This system may break down on large teams, but when you are just a handful of grug-brained developers, it's perfectly appropriate.

Re: Extremely Linear Git History

#6
post #2

I love linear git! Branches are very confusing for a nonempty set of people. For us, it is always clearer to work with explicit files in the main branch. You are implementing a new feature? Nice: just create a new file on the main branch and keep updating it until you add it to the tests, and later you call it from the main program. This system may break down on large teams, but when you are just a handful of grug-br…

That requires your programming language to identify files with modules, and with your system architecture to be extended by modules alone.

This is an ideal case, of course.

Re: Extremely Linear Git History

#10
post #2

I love linear git! Branches are very confusing for a nonempty set of people. For us, it is always clearer to work with explicit files in the main branch. You are implementing a new feature? Nice: just create a new file on the main branch and keep updating it until you add it to the tests, and later you call it from the main program. This system may break down on large teams, but when you are just a handful of grug-br…

That requires your programming language to identify files with modules, and with your system architecture to be extended by modules alone. This is an ideal case, of course.

I don't understand your comment. The method that I describe only requires that the programming language ignores unused files. As far as I know, all modern programming languages have this feature.
Post reply on HN