Hello World
Hello, World! is a simple yet essential starting point for beginners to get hands-on experience with a new programming language and to ensure that their development environment is configured correctly. If you’re new to programming, the best way to start is by writing a simple “Hello, World!” program to get a feel for the language you have chosen. In this article, I share several examples in some of the most popular programing languagues.
- Python - hello.py
print("Hello World!")
- TypeScript - hello.ts
function sayHello(name: string) {
console.log(`Hello, ${name}!`);
}
const userName = "World";
sayHello(userName);
- Go - hello.go
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}