Where and How to Type Code
You write code in a code editor or Integrated Development Environment (IDE). These provide syntax highlighting, autocomplete, debugging, and version control integration.
Popular Choices
- VS Code (free, extensible, all languages) – most popular.
- JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, etc.) – powerful, paid (free for students/open source).
- Sublime Text / Atom (lightweight editors).
- Vim / Neovim / Emacs – terminal-based, steep learning curve, highly efficient.
- Online: Replit, CodeSandbox, GitHub Codespaces, CodePen (no install).
Basic Workflow
- Install editor + language runtime (Python, Node, JDK, etc.).
- Create project folder → open in editor.
- New file with correct extension (
.py, .js, .java, etc.).
- Write code using language syntax.
- Save frequently (Ctrl/Cmd+S).
- Run: terminal (
python file.py), debug button, or browser (for web).
- Use Git for version control.
Learn syntax first; practice small projects. Follow style guides (PEP 8, Airbnb JS, etc.).