• umbraroze@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Yeah, you can technically write object oriented code in C. Or any other language. Just that actual OOP languages provide a nicer syntax and compile time checks.

    Rust is kind of a good example of this. It’s technically not an object oriented language, but the trait system brings it close.