News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by FrozenVoid on Monday September 23, 2019 @01:27AM (#21046164)
Only operator overloading is really important and would cut down the size of code written substantially. Thats the only real advantage of using C++ vs C. Everything else oop, function overloading,RAII,etc can be replaced with macros and structs.
Re:Why I Write Games in C (yes, C) by pingyong on Monday September 23, 2019 @08:54AM (#21048422)
Pretty sure you can't make destructors with macros?
Re:Why I Write Games in C (yes, C) by FrozenVoid on Wednesday September 25, 2019 @07:44AM (#21069759)