HNHacker News
TopNewBestAskShowJobs

nghst

10 karma · joined March 31, 2014

submissionscomments
nghst··on Stop commenting your code just to say you did
I think the occasional "header" comment is useful, even in cases where the code is obvious, i.e.

   // do blah blah
   obvious_thing;
   obvious_thing;
   obvious_thing;
   obvious_thing;

   // do something else
   obvious_thing;
   obvious_thing;
   obvious_thing;
   obvious_thing;
Even though none of the lines really need documentation, having the comment ensures that you can quickly jump in when you come back later.

This is really useful in something like drawing code.

nghst··on 2048 is why we can’t have nice things
"[Free, open-source software] is why we can't have nice things" ...?

2048 exploded because anyone could modify it, create a doge version, create an AI version, a multiplayer version, an inverted version ...

And they did. The formula was ridiculously simple, so it was easy to do.

You can't do that with Threes. It's proprietary. You can't take it apart. You can't mess around with it. The only thing you can do with it is play Threes.