Debug Print
Objective: Print value of a variable along with its name.
Python
x = 123
print(f"{x=}")
Rust
fn main() { let x = 123; dbg!(x); }
Crystal
x = 123
p! x
Objective: Print value of a variable along with its name.
x = 123
print(f"{x=}")
fn main() { let x = 123; dbg!(x); }
x = 123
p! x