• livingcoder@programming.dev
    link
    fedilink
    arrow-up
    25
    ·
    25 days ago

    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.

  • renegadesporkA
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    25 days ago

    let comment: String = String::from(“lol”);
    println!(“{}”, comment);

  • garlicandonions@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    24 days ago

    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.