Yeah, fun idea.
So when I didn't recognize some of the options, I've looked them up with :help and of course "autoindent" and "ai" are the same, so should be really added together.
Functions are public by default. You could leave that out.
The main function has to be static and will serve as the entrance point of the program, not the class.
So this might just look like too much when in fact this is just a very small code sample.
Did I address some of your concerns, or did I miss the point entirely? Just curious.
Most here have commented 3-4 hours ago, but 2 hours ago Isaac Yonemoto left an excellent comment on the blog. So if you read this message, because you're checking the thread for new discussion, I encourage you to check out his comment as well. :-)
Half-relevant: Funnily, I just arrived at this passage in "Willpower: Rediscovering the Greatest Human Strength"[1]:
"We devoted chapter 3 to the glorious history of the to-do list, but we realize that some readers might still not feel like drawing one up. It can sound dreary and off-putting. If so, try thinking of it as a todon’t list: a catalog of things that you don’t have to worry about once you write them down. As we saw in our discussion of the Zeigarnik effect, when you try to ignore unfinished tasks, your unconscious keeps fretting about them in the same way that an ear worm keeps playing an unfinished song. You can’t banish them from your brain by procrastinating or by willing yourself to forget them.
But once you make a specific plan, your unconscious will be mollified. You need to at least plan the specific next step to take: what to do, whom to contact, how to do it (in person? by phone? by e-mail?). If you can also plan specifically when and where to do it, so much the better, but that’s not essential. As long as you’ve decided what to do and put it on the list, your unconscious can relax."
What I'm saying is that programming for fun on your free time is absolutely not the same as programming to pay the rent, and this is not straightforward when you start learning computer science (and that's what this article is about, right?). You have to respect a lot of things that stops you in the creation process, because the goal here is not to do cool things but do as you're told, to take decisions not for your entertainment but for your boss. Sure there are people that do whatever they want at work, but it's relatively rare. And this, my friends, is just my humble opinion.
Let me put it this way. On a regular week day, I spend around 12-14 hours a day programming (that might change with a kid on the way), only 10 of which are done for my boss. The point is I don't program to make a living. I just make a living by doing what I do best.
In other words, programming to me means so much more than what I give my employer. Just like the article says, it defines a way of life, that puts knowledge, learning and improving on top of everything else.
If you don't mind: which are those more exclusive advertising networks, and what are the hurdles you have to take to get in? What's an average ecpm there?
Working out at home is a possible answer then. I regularly use and therefore highly recommend the simplefit[1] routines.
It consists of 3 different "days" (endurance, strength and judgement) which all consist of different combinations of pull-ups, push-ups and squats.
All you need equipment-wise is a pull-up bar. I have a wall-mounted pull-up bar which is very stable. Maybe a cheap one for the doorframe will do the trick as well.
simplefit consists of progressively harder levels[2]. If you manage to finish "day 3" (judgement) in under 5 minutes, you go to the next level.
EDIT: forgot to mention that the simplefit exercises are done with bodyweight only. Also, they are laid out in a way that will keep your heart pumping and thus you will get fit pretty fast and in a time-efficient manner. No routine takes longer than 20 minutes. In fact, only "day 1" is ultimately bound by time (20 mins), the others are to be finished "as fast as you safely can". This is key for me and the reason I stuck to it over many weeks now. It doesn't take long and I still see results.