News for hackers. Stuff that matters.
Re:I write games in C (yes, C) by feelamee on Saturday February 07, 2026 @07:39PM (#46930028)
Of course people do" virtual functions" in C, but I think this is not an argument despite C. I noticed that making virtual in C++ is sooo easy that people start abusing it. This making reading/understanding/debugging code much harder (especially if they mess this up with templates). And here C is a way - it allow but complicates "virtual". So, you will think twice before using it
Re:I write games in C (yes, C) by pjmlp on Sunday February 08, 2026 @03:32AM (#46932480)
Most operating systems written in C have it all over the place.

Drivers, and extension points for userspace.

Re:I write games in C (yes, C) by feelamee on Monday February 09, 2026 @08:36PM (#46954222)
yes, but not soo much as my production C++. I know that that's our choice, but I underline the difference between C and C++ here