4 ms·
From programmer's perspective, Minecraft is nothing special (and it's written in Java!). There is much better code out there. Quality of programming and succes
by kostya-kow 14y ago
From programmer's perspective, Minecraft is nothing special (and it's written in Java!). There is much better code out there.
Quality of programming and success are not necessarily related.
- ilaksh 14y agoHave you actually seen him coding? From what I have heard/seen on video, he is very fast, his code is readable and relatively concise (for Java). And efficiently displaying this giant fully-modifiable voxel world on all types of hardware is no small feat. Also the procedural landscape generation is fairly brilliant. And the whole crafting system that allowed for world modification. I think you should give him credit for doing a great execution of some really cutting edge ideas.
- pdog 14y agoWatched him live coding August 2011 -- it was incredible. I know there are better programmers, especially on a systems level, but it's still just... wow. http://www.twitch.tv/notch http://www.twitch.tv/notch
- BSousa 14y agoNot wanting to take anything from notch, but I do concur with the parent. I've seen his live casts, and sure they are great, but let's not kid ourselves, his code is not that great. He is fast cause he knows the libraries he uses very well (which is admirable) but at the time, put me in front of DX9 and my speed was the same. Now put me in front of iOS code and I can probably match it. I think he just got to that status where people idolise him (heck, I remember when his first livecast was out, 100s of blogs doing their own 'what I learn from watching notch code' like he was some super coder, which weren't much more than typical stuff you learn in the first 2-3 years working at a company(at least in games). And from other sources (can't verify) minecraft code is reported to be quite bad, which is the main reason many of the bugs weren't fixed very fast. Having said that, he had a vision, executed it well and made a lot of money. My hat is off to him for that.
- methodover 14y agoThat's probably true. Just to expand on this idea: Notch's priorities when he wrote Minecraft were quite different from most of our priorities as an employee, I would wager. I dunno about you, but writing truly readable, intuitive, easy to maintain code is quite difficult. And you'll likely never get it right the first time. Refactoring for readability takes consultation from other human beings, and lots of time. And when you're writing software for a business, it's really important to put in that time. You know what you're writing is going to last five or ten or more years and will be seen by dozens of people. It _needs_ to be good. But for a guy working independently on a novel project? Fuck all that, I say. Just iterate as fast as you can towards the vision that you have while keeping some minimum standard of readability/maintainability. It doesn't need to be very good code, it just needs to be good enough that you can go back to it later without being completely confused.