• 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: August 15th, 2023

help-circle










  • Metype @lemmy.worldto196@lemmy.blahaj.zonework(rule)flow
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 months ago

    i is already initiated so the first statement isn’t necessary so it’s empty.

    The loop is ended with a conditional break statement so the loop end criteria isn’t necessary so it’s empty.

    We want each iteration to increment i so it’s i++

    That’s how you end up with (;;i++)




  • Metype @lemmy.worldtoProgrammer Humor@lemmy.mlSTOP WRITING C
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    There’s a project I could have written in Rust. Maybe some of the headache wouldn’t have ever happened using Rust.

    I also didn’t know Rust at the time and it was a large project with unkind deadlines. I think the right tool for the job can also depend on available resources. So while the more unsafe, older tool I used caused a few small issues that Rust would not have; the project wouldn’t have been finished if I’d used Rust.


  • Metype @lemmy.worldtoMemes@lemmy.mlWhy is this so difficult?
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    7 months ago

    I do believe they were referring quite specifically to the politicians, since on every side it seems politicians are disconnected from their constituents and do things those constituents absolutely wouldn’t (this isn’t some bizarre both-sides argument btw, just general frustration at the state of things)