← Back to blog

15 February 2025

Hello, world!

sitemeta

Trying out the formatting of various code snippets:

// JS
console.log('Hello, world!');
# Python
print("Hello, World!")
// Java
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}
// C
#include <stdio.h>

int main() {
    printf("Hello, World!\n");
    return 0;
}
// C#
using System;

class Program {
    static void Main() {
        Console.WriteLine("Hello, World!");
    }
}
// Go
package main
import "fmt"

func main() {
    fmt.Println("Hello, World!")
}
// Rust
fn main() {
    println!("Hello, World!");
}
// PHP
<?php
echo "Hello, World!";
?>