News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by Scarbutt on Saturday September 21, 2019 @01:07PM (#21036490)
Handmadehero started as C but transition to C++ AFAICT ?
Re:Why I Write Games in C (yes, C) by stephc_int13 on Saturday September 21, 2019 @01:11PM (#21036521)
There is no classes, extremely rare use of templates in the Handmade Hero code.

C++ with structs and 99% procedural code is actually very close to vanilla C.

Let's not be pedantic here.

Re:Why I Write Games in C (yes, C) by p7IDD243 on Saturday September 21, 2019 @01:32PM (#21036690)
Classes and structs in C++ are almost the same thing with the exception of the default member visibility, unless you mean a POD?
Re:Why I Write Games in C (yes, C) by mattbreeden on Saturday September 21, 2019 @01:36PM (#21036715)
It was C++ from day one because he intended to use operator overloading
Re:Why I Write Games in C (yes, C) by ru999gol on Saturday September 21, 2019 @04:20PM (#21037691)
I think he is the perfect example of why I don't care what those C (or minimalist subset C++) programmers have to say. When you actually see how he works, how much time he spends debugging his messy code. They are all sooooooo far away from what I would describe as remotely good, clean code. And all so full of themselves too of course.

I liked Handmadehero for this reason, he is so arrogant and certain about how to properly write code, but when you actually see how he codes, what mess he produces and how long he spends live debugging it all the time. He constantly finds bugs in code he wrote earlier, etc. Yet he is so totally unable to find anything remotely wrong about the way he does things, and that there might have been some ideas invented in the last 30 years that could make him more productive.

I have zero respect for those types of programmers. I would quit any job instantly if I ever had to work with guys like this.

Re:Why I Write Games in C (yes, C) by s_m_t on Saturday September 21, 2019 @06:23PM (#21038256)
I don't know, he seems extremely productive to me. A lot of the time he spends in the debugger is more of him trying to figure out exactly what is happening with an api or memory usage rather than trying to figure out something he coded "wrong".
Re:Why I Write Games in C (yes, C) by jdmoreira on Saturday September 21, 2019 @05:54PM (#21038139)
wow. You must be a prolific game programmer like Casey Muratori, right?

You understand that he is an extremely successful programmer in his field and has the respect of thousands of programmers world wide?

Maybe you can share some of your accomplishments with us.

Re:Why I Write Games in C (yes, C) by tdsamardzhiev on Sunday September 22, 2019 @03:34AM (#21040124)
Care to provide some examples and explain how using more abstractions would have solved them?