Modern QA2026Hello World
Log inJoin
1 / 3 · Book 12 · Your First Program · drill: interview Q&A⊞ allnext →Get the book →

1.3Hello World

Create a file, run it, see output. That is the entire cycle.

# hello.py
print("Hello, QA world!")
// hello.js
console.log("Hello, QA world!");
// hello.ts
const greeting: string = "Hello, QA world!";
console.log(greeting);

Run each one:

python hello.py       # Python
node hello.js         # JavaScript
npx tsx hello.ts      # TypeScript (tsx runs .ts files directly)
node hello.ts         # Also works on Node.js 24+ (type-stripping)

As of July 2026, Node.js 24 is the active LTS release, and it runs TypeScript files directly through stable native type-stripping: node hello.ts strips the type annotations and executes the underlying JavaScript. The catch: type-stripping does not type-check. Node will happily run code with type errors, so keep tsc --noEmit in CI to catch them. (Node.js 26 is the Current release; starting with Node 27 the project ships one major version per year.)