Git-ten Up to Speed

I'm learning by way of the school of hard knocks that even I, with my very simplistic self-imposed Python project, need help with version control.

Let me back up. I created a very simple Python script that asks the user for opinions about various You Tube tutorials, and in the process of collecting answers to queries about the tutorial, starts assembling HTML plus CSS code for posting as a help Tab on my browser.

The simple minded script asks the user questions like, 'How many out of 5 stars do you give to the overall quality of this tutorial?' and 'Please copy to the clipboard, the URL of the tutorial and its title'. All these little bits of information get assembled into an HTML/CSS tagged snippet that I want to append to a growing collection of reviews expressed in HTML code.

'Wait a minute,' I said to myself.  (Kudos to Meme-Gen'er)
'Every user input should be tested for validity.'
'And this issue will occur with every future program!'
'Shouldn't I have a module filled with input validators?'
'For example if I want a response to how many out-of-five stars do you give for this characteristic, the user input must be a single numeric digit between zero and and five inclusive. If false, tell the user to try again! (Using a while loop --while invalid, keep asking)

simple becomes complex


That's when simple convoluted itself into complex.
The imports didn't work.
The validity test functions had to be renamed.
I had too many versions floating around.

OMG! Now I see why I need to git Git!
(Not to be confused with GitHub)

Some people insist that the whole Git/GitHub thing is very simple and there is no reason for me to freak out over learning it. Obviously they have not watched this Git-Butler video (here).

Luckily I stumbled into Mosh's tutorial for beginners (here) And he provides a cheat sheet (here) Unfortunately, only the first hour of his 5-hour tutorial is free. I'm not yet sure I should invest in doing the entirety of his class. There are a number of other tutorials listed in the below More to Explore section.

To be continued ...

More to Explore
Mosh to the rescue
Boot Dev - Learn Git - The Full Course
ForrestKnight - Everything You Need to Know about Git
Colt Steele -- Learn Git In 15 Minutes
Kevin Stratvert -- Git and GitHub Tutorial for Beginners
Cameron McKenzie -- Git and GitHub Crash Course For Beginners
Dave Gray --  Git Tutorial for Absolute Beginners
Google search --- Git Tutorials
The Theory Of Code -- Introduction to Git
IBM Technology --- Git vs. GitHub: What's the difference?
Traversy Media -- Git & GitHub Crash Course 2025

Comments

Popular posts from this blog

Links for Python Noobs

Everything From Everywhere All At Once -- Doesn't Fly

I Lied