• bruhduh
    link
    40
    edit-2
    11 months ago

    C can STRUCTurise classes tho

    • @NoFun4You
      link
      1811 months ago

      I want my vs code to look like this

    • @umbraroze
      link
      1711 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.

      • @force
        link
        411 months ago

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

    • @hansl
      link
      111 months ago

      Ah yes, what C needs is VTABLEs.