I disagree. Doing something just for the sake of it doing it without understanding why it's needed is not helpful. I think it's better to learn to code first then understand why you need to version control it.
Wrong. Keeping track of your code, its history, and interacting with GitHub is ESSENTIAL. You are learning git so you don’t have a million versions of code taking up space such as “_version1” “_version2.5” “_final” “_final2” “_final4”. You don’t even have to think about transferring it to other computers or making backups.
You obviously misunderstood me. I never said it wasn’t essential, because it is. If someone is learning how to write basic code they don’t need to learn about version control (yet). Walk before you run.
If you are at the point where you are making folders of versions, that’s exactly the type of situation you should start learning git. I literally advocated exactly that.
I think you misunderstood me, too. I think it’s so essential to the point where you should learn it before learning to code. You literally cannot interact with the development side of most (if not all) open source software projects without using git (I’m including GitHub) in some way. New developers should learn it ahead of time for multiple reasons:
They WILL need it eventually. Might as well rip the bandaid off. Honestly, they don’t even need the CLI. Use the desktop version or use VS Code’s built in git if they’re really inclined to. It’s not a big deal.
It prevents them from having to go back and adding it to the other projects and cleaning them up.
It lets new developers look at the history of their code easily and not worry about deleting or revising sections.
That third point I made is specifically why I disagree with your point about “learning to walk before you run”. What’s the point, anyway? Getting to learn a one-file project and then suddenly throwing git into the mix? Pointless. Just get it out of the way, install a desktop app, and be done with it.
the point is. it’s freaking hard. and burnout is real. minimum viable product. build momentum. have fun. color outside the lines for a while, nothing will burn down.
18
u/LoquaciousLamp Jun 19 '22
To be fair I'd learn git before html css and javascript.