Hacker News new | ask | show | jobs
by jpatte 4077 days ago
The solution presented here basically consists of implementing a VehicleType class with a bunch of static instances without using the class syntax. I can't decide if this was a deliberate decision from the author or if he just didn't realize this.
1 comments

Maybe to be C-compatible?