News for hackers. Stuff that matters.
Re:Git is my buddy: Effective Git as a solo developer by ulisesrmzroche on Tuesday February 23, 2021 @12:41PM (#26240233)
The real history is useless. Especially if we have tests. In that case it doesn’t matter how often we make changes.

I do think this is because I prefer to think of code as a black box. No one should need to figure out how my functions work. Someone should just need the name of the function, what inputs it receives, and what output does it return. If someone actually has to read my code, that’s a failure.

Re:Git is my buddy: Effective Git as a solo developer by gmfawcett on Tuesday February 23, 2021 @12:51PM (#26240347)
> If someone actually has to read my code, that’s a failure.

I can't tell if you're being serious, or are a brilliant troll. :)

Assuming you're serious, Hyrum's Law is one reason I might need to see your code (https://www.hyrumslaw.com/). The signature of your function is not the whole signature, it's just a sketch of the high points.

Re:Git is my buddy: Effective Git as a solo developer by ulisesrmzroche on Tuesday February 23, 2021 @01:50PM (#26241160)
You really should just need to read the code in case something goes wrong, but otherwise, no. You need to be more careful with your time.