• umbraroze
      link
      fedilink
      arrow-up
      17
      ·
      1 year 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.

      • force
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        most C programs are just C++ programs with extra steps if you look at them close enough