3 ms·
I really enjoyed watching Notch program and I'm sure he enjoyed it too, but he doesn't work like that all the time or Minecraft would be out of beta. There are
by mattmanser 15y ago
I really enjoyed watching Notch program and I'm sure he enjoyed it too, but he doesn't work like that all the time or Minecraft would be out of beta. There are bugs and glitches and loads of other little things. I love Minecraft but it's frustrating, for example, that minecarts get stuck to each other when going e/w but not n/s. It's a non-trivial bug.
From watching him code and also reading about how to change the height limits in Minecraft it appears to me that he may slip into some questionable coding practices at times. I've not read the code but it left me wondering why isn't there a single global height variable, never hard code numbers! I watched him copy and paste chunks of code and then manually change variables, often missing some and then having to go back. Again, not a good idea if you don't want to introduce bugs unless you're coding for fun. Cut and paste should really be disabled on programmer's machines!
Not that I'm criticizing, I've done the same thing. But proof of concepts are far easier than finished products, even unpolished finished products.
It's fun to play with a new concept. But most of the time it's not so fun to put in the effort to polish it or keep a tight code base. In fact it's downright laborious.
Just off the top of my head when you sit down and really have to code instead of coding for fun there's time, boredom, mental effort, lines of code, language limitations, testing methods, deployment, project management and on and on that are all resources to be managed. And if you do it for yourself there's also the constant doubt nagging you.
Are you doing the right thing?
So while the glib soundbites are fun, they're very misleading, lets sniff a little reality.
If you are a programmer, it can be tough to push stuff over the finish line.
Adding the dull login system or the annoying signup page, both trivial and so mundane, are usually much harder than implementing that tricky calculation.
I do think that doing something like that challenge is an excellent way to remind yourself why you got into coding in the first place. The joy of coding. But let's not confuse it with writing a new SaaS app.