By Dummy for Dummies
I'll explain everything the way I learned it, step by step, assuming we're all figuring this out together.
Forget the syllabus language, "Computer Programming Concepts & Paradigms," all of that. We won't be talking like that here.
Act like we all share a single brain cell. Follow along, and I'll only explain what's actually important.
The world of computers is a magical one. Programming languages are like spells, some dark, some simple, some hard yet powerful.
Java is one of those spells. You tell the computer what to do, and it does it, whether that's creating a game character, making it walk, or reading a file.
Think of it this way: you speak to the computer in Java, and the computer listens. Every single time.
Monkey loves banana, monkey gets banana, monkey happy. You love money, you get money, you happy.
Over 3 billion devices run on Java. Write your code once, and it runs on Windows, macOS, Linux, and Android without changing a thing. That's enough praise for now.
To make money as a CS student, Java is one of the best entry points, though not the only one. Here's how it compares to two other common starting languages:
To run Java, you need the Java Development Kit (JDK). Think of the JDK as Dumbledore of Java magic. You write code, Dumbledore translates it into something the machine understands, then runs it on your PC.
There's also something called the JVM, but that's a later conversation. Right now, only what we're actually doing matters.
After installing the JDK, you need to set its PATH. Dumbledore needs his dictionary to translate and his manual to run your code, and PATH is where you tell your PC to remember those tools live. Without that location saved, Dumbledore shows up with nothing.
Those two tools are:
Where to write code? You can technically write Java in a .txt file, but use VS Code. It's free, and you'll grow into its features over time.
That's it for the introduction. Next up, we write our very first program: Hello World.