|
DuckConference posted:you can make C that's kind of object-oriented if you want, structs full of function pointers everywhere. you can even inherit by casting a struct full of function pointers to another struct full of function pointers This is basically how the linux kernel is written. e: Except the casting part. Probably not the casting part. That sounds awful. It's bad enough just trying to find your way through function pointer soup, but I can at least see why it's necessary and useful. Inheritance in C the way you describe it sounds pretty awful Colonel Taint fucked around with this message at 13:05 on May 2, 2017 |
# ¿ May 2, 2017 12:47 |
|
|
# ¿ May 16, 2024 10:41 |