Coming from another language

What you already write, and what it becomes here — plus the handful of things that will genuinely surprise you, which is the part a syntax table cannot carry.

Java

Classes without inheritance, null in the type system.

Kotlin

The closest relative — and where it parts ways.

Go

Generics that monomorphise, errors that are not values.

Rust

Counting instead of borrowing, and why.

C

The same machine, with the footguns removed.

C++

RAII you already understand, without the rest.

C#

Nullable reference types, taken all the way.

Python

The same readability, checked before it runs.

JavaScript

No coercions, no undefined, no second equality.