You are viewing a single thread.
View all comments
40 points
*

C can STRUCTurise classes tho

permalink
report
reply
18 points

I want my vs code to look like this

permalink
report
parent
reply
24 points

permalink
report
parent
reply
17 points

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.

permalink
report
parent
reply
5 points

Time for Rust++

permalink
report
parent
reply
4 points

Stop this or I’m gonna find you and I’m gonna kill your dog

permalink
report
parent
reply
1 point

Ah yes, what C needs is VTABLEs.

permalink
report
parent
reply
1 point

But, why?

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.7K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments