Text description (for those with screenreaders):

A portion of a prime number checker written in the Rust programming language, where the first few lines are written correctly including the first if statement in the program. However, the following if statements are written using Python syntax instead of Rust, as the author slipped back into his native tongue.

  • JustARegularNerdOP
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months ago

    Well, in my defense I just wanted to initially try out Rust and on this particular computer, I don’t have any IDE set up on it yet. However, definitely seems like an IDE is in order for me haha

      • JustARegularNerdOP
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        I thought so but as I’m not a huge vim user myself, I thought maybe vim had some error detection like VSCode that could be set up and that’s what you meant.

        In any case, VSCode will probably be the go for me

          • t3rmit3@beehaw.org
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            5 months ago

            I actually use Vim to write all my code, but without IDE-ifying it, just syntax highlighting and some navigation tweaks (with Sublime3 for help with bulk edits). For most of my stuff an IDE is overkill.