When I learned Python I thought that not having a statically typed language was the way to go, but then it just became an issue when I was trying to ensure that everything was at least something like what I was expecting. Going back to statically typed languages even harder with Rust has been a dream. I love it.
nasm? the x86 assembler from the 90s?
let comment: String = String::from(“lol”);
println!(“{}”, comment);println!("{comment}");
C’mon, it’s 2025!
Not inside a main function, won’t pass rust compiler check
Just a snippet from a bigger function.
It’s documentation. I’m a strickler to type in python so later when I look at my code and go what does this do it’s easier.
Time to rewrite the world in assembly
Data types do matter, and someone’s got to declare them at some point, or else your compiler won’t know how to intepret them. It’s just a question of who should be doing the declaring: you, or a parser algorithm? Personally, I don’t like things being done for me.