π₯π₯ Introducing "computer things" π₯π₯ + a fun game!πΉ
Let's talk about the very basics aka how to not keep newbies out of the world of programming
Hi there!
First off; Happy Diwali!! πͺπͺπͺππ
May this new year bring health, happiness and prosperity to all of us. The last two years have been a rollercoaster βΒ to say the very least β and may we see and appreciate normalcy again. All my love to all of you π
I celebrated with a mighty nice dinner of Nutri Aloo sabzi and Methi Parathas. I also made mithai cheesecake, lit diyas and thanked God for all I have.
Onwards!
Last week, I wrote about not even knowing the right verb to use for:SQL, Beautiful Soup, Python, Pandas, Homebrew etcβ¦
And since writing that, the confusion and chaos in my head has ebbed and flowed and Iβve become convinced of one little thing: Don't define a strange new thing using other strange new words. What happens is βΒ a newbie reads it, understands nothing, either feels frustrated and tries harder or.. gives up. And, it doesnβt have to be this way.
So here I am trying to simplify programming in a series called computer things.
From a newbie to other newbies and to to-be-newbies;
Donβt stress too much. Itβs confusing but it all (almost always) makes sense! If something isnβt logical, youβre right, itβs not! Sometimes, syntax1 isnβt logical. Itβs just how it is! Start your journey with HTML. Itβll warm you up just enough to dive in deeper and not feel too lost. Seek out free resources. They exist!! And, practice, practice, practice! Challenge yourself! If you feel lost, itβs more than okay to take a break; have a cup of chai (or a snack or both) and take a nap and try again. The important thing is to not give in to believing that those who code are somehow smarter than you are π€·π»ββοΈ
Hereβs lesson
one
in my computer things series:
If you see >>> in your terminal, youβre inside Python. If you see %, youβre insideβ¦ normal. But wait, what even is Terminal, Areena?! Sweat not! Hereβs your answer!
What is the terminal?
Also called Command Line (for Windowsβ folks. Terminal for Apple ones)
It looks like this:
Thereβs nothing glamorous about how it looks; this is really it π€·π»ββοΈ
Hereβs what it does: It tells your computer what to do. For instance; if you type ls (which is a command2), the computer will print out a list of items in that particular folder. Something like this:
I know this is really, really basic. But, thatβs the whole point; starting from scratch and taking it all one step at a time. If you want to try out some quick commands, open terminal (command line on Windows) on your computer and try playing this game:
https://web.mit.edu/mprat/Public/web/Terminus/Web/main.html
And, if youβre interested in learning more, give these a read:
Terminal for beginners!
Easy readAnatomy of a Terminal Emulator
Slightly complicated read
Thatβs all for now. Happy, happy Diwali, again!
Syntax β> How things are put together: rules. Just like grammar!
Commands β> Instructions. Just words/sentences that tell the computer what to do!