Skip to content
X

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


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.

LanguagePrimary UseNotes
JavaScriptWeb frontend, servers, AI toolsThe only language that runs natively in browsers; Node.js expands its reach
PythonAI/ML, data analysis, automationReadable syntax; the richest ecosystem of AI libraries
SwiftiOS and macOS appsApple’s platform language
KotlinAndroid appsThe modern standard for Android development
RustSystems programmingFast and memory-safe; used in OS and browser engine work
GoBackend, infrastructureSimple and fast; popular for cloud services
JavaEnterprise, AndroidLong 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.


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.)
  • 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
  • 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

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 Code

PageContent
What is Node.jsOverview, why it matters, and what I can build with it
nvm — Node.js Version ManagerSetting up nvm for version management
Installing Node.jsStep-by-step installation using nvm
PageContent
What is PythonOverview, Python’s role in AI, and what I can build
Python Setup with pyenvInstalling Python with pyenv and setting up virtual environments

StepPageTime estimate
1What is Node.js10 min read
2nvm — Node.js Version Manager5 min read + 15 min hands-on
3Installing Node.js5 min read + 10 min hands-on
4What is Python10 min read
5Python Setup with pyenv5 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.


Before starting this section, make sure the following are in place:

  • Terminal basics: You can open a terminal and run commands like cd, ls, and mkdir. 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