Hacker News new | ask | show | jobs
Object-oriented vs. procedural: rewriting a NES emulator [video] (youtube.com)
1 points by hackthemack 33 days ago
1 comments

Brian Will describes some common pitfalls in a object oriented codebase and rewrites the 3800 SLOC in a procedural style.

Original OOP https://github.com/fogleman/nes

Procedural rewrite https://github.com/BrianWill/nes