Hacker News new | comments | show | ask | jobs | submit login

I don't really know who the writer is, but Carmack's comment seems to indicate that it was very much a first pass at writing C++.

There's two things here that irk me a little bit:

the stream operator overloading - maybe I have been writing C++ for many years, but I can't get behind using printf vs. stringstream because << is a 'bastardization';

public variables because you don't like adding accessor/mutator methods.

Other than those two everything else is a stylistic preference that I mostly agree with. Statement braces around control blocks should absolutely be a requirement as well as pedantic const.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact