from Hacker News

Practical Data Oriented Design- Andrew Kelley(Zig)

by imachine1980_ on 7/16/24, 10:28 PM with 1 comments

  • by masfoobar on 7/29/24, 11:28 AM

    This is a good talk.

    By the looks of the chart andrew might be a little younger than me - but his programming experience is very close to mine. I started around 13 years old, learning with Quake and level editing, leading to the likes of VB6, j++, Turbo Pascal and Turbo C.

    The way he also speaks about diverting away from OOP then, eventually, coming across Mike Actons DoD is spot on! I feel I was there in a number of ways -- it helped me realise that my mindset is not the problem, just what we are told is the "way" in the world of programming.

    The way he talks about the bool, moving away to alive_monsters and dead_monsters is exactly how I put together DOD in my earlier days. It removes a if statement, generally speaking.

    Anyway -- nice talk