Programming Languages
A programming language is how you tell a computer what to do. Just as English or Japanese enables communication between people, a programming language lets you give instructions to a machine.
In this section, I cover the landscape of programming languages in use today, then focus on JavaScript and Python — the two languages that matter most in the AI era — and walk through setup and practical use for both.
Target reader: Anyone who has completed terminal setup and VS Code configuration
Estimated study time: 10 min to read this overview; each sub-page takes 10–30 min
Prerequisites: Basic terminal operations (cd, ls, etc.) and VS Code installed
What is a Programming Language?
Section titled “What is a Programming Language?”A programming language is a formal language that lets humans give instructions to computers. There are more than 700 programming languages in existence, and different languages suit different tasks.
| Language | Primary Use | Notes |
|---|---|---|
| JavaScript | Web frontend, servers, AI tools | The only language that runs natively in browsers; Node.js expands its reach |
| Python | AI/ML, data analysis, automation | Readable syntax; the richest ecosystem of AI libraries |
| Swift | iOS and macOS apps | Apple’s platform language |
| Kotlin | Android apps | The modern standard for Android development |
| Rust | Systems programming | Fast and memory-safe; used in OS and browser engine work |
| Go | Backend, infrastructure | Simple and fast; popular for cloud services |
| Java | Enterprise, Android | Long history; built for large-scale systems |
With so many options, the question “which one should I learn?” is natural. The answer is straightforward — if you are starting today, learn JavaScript and Python first.
Why JavaScript and Python?
Section titled “Why JavaScript and Python?”Programming Languages in the AI Era
Section titled “Programming Languages in the AI Era”In 2026, building with AI has become a core engineering skill. Whether calling the Claude or ChatGPT APIs, chaining AI tools together, or automating workflows, the two languages with the best support are Python and JavaScript (via Node.js).
Languages at the center of AI-era development
Python ──────────→ AI, ML, data analysis, automation scripts
(TensorFlow, PyTorch, Anthropic SDK, etc.)
JavaScript ──────→ Web frontend, backend, AI tooling
(via Node.js) (React, Next.js, Claude Code, etc.)Why Python
Section titled “Why Python”- The center of AI and ML — TensorFlow, PyTorch, and scikit-learn are all Python-first
- Official AI SDKs prioritize Python — Anthropic, OpenAI, and others ship Python SDKs first
- Readable syntax — Easy to learn, with enormous learning resources worldwide
Why JavaScript
Section titled “Why JavaScript”- The only language that runs in browsers — Every interactive behavior on the web is JavaScript
- Full-stack development — With Node.js, the same language covers both frontend and backend
- The runtime for AI tools — Claude Code, GitHub Copilot CLI, and many AI developer tools run on Node.js
Running JavaScript Requires Node.js
Section titled “Running JavaScript Requires Node.js”JavaScript was originally designed to run only inside web browsers — powering button animations, form validation, and interactive UI elements.
Node.js changed that. It gave JavaScript a runtime environment outside the browser — on a server or in the terminal.
JavaScript execution environments
Browser (Chrome, Safari, etc.)
└── Web page interactions
└── DOM manipulation, event handling
Node.js (terminal and server)
└── CLI tool development
└── Web server construction
└── Running AI tools (Claude Code, etc.)
└── Build tools (Vite, webpack, etc.)Installing Node.js also installs npm (the package manager), which gives access to millions of packages built by developers around the world — available with a single command.
# Installing Node.js also enables npm
npm install -g @anthropic-ai/claude-code # Example: installing Claude CodeWhat This Section Covers
Section titled “What This Section Covers”Node.js (JavaScript runtime)
Section titled “Node.js (JavaScript runtime)”| Page | Content |
|---|---|
| What is Node.js | Overview, why it matters, and what I can build with it |
| nvm — Node.js Version Manager | Setting up nvm for version management |
| Installing Node.js | Step-by-step installation using nvm |
Python (AI, data, automation)
Section titled “Python (AI, data, automation)”| Page | Content |
|---|---|
| What is Python | Overview, Python’s role in AI, and what I can build |
| Python Setup with pyenv | Installing Python with pyenv and setting up virtual environments |
Recommended Learning Order
Section titled “Recommended Learning Order”| Step | Page | Time estimate |
|---|---|---|
| 1 | What is Node.js | 10 min read |
| 2 | nvm — Node.js Version Manager | 5 min read + 15 min hands-on |
| 3 | Installing Node.js | 5 min read + 10 min hands-on |
| 4 | What is Python | 10 min read |
| 5 | Python Setup with pyenv | 5 min read + 20 min hands-on |
If AI or data analysis is your primary goal, it is fine to start with Python (steps 4–5) first.
Prerequisites
Section titled “Prerequisites”Before starting this section, make sure the following are in place:
- Terminal basics: You can open a terminal and run commands like
cd,ls, andmkdir. See What is the Terminal if needed. - VS Code: Your code editor is installed and working. See VS Code Setup if needed.
- Homebrew: The Mac package manager is installed (nvm and pyenv are installed through it). See Package Managers if needed.
Next: What is Node.js or What is Python