3 ms·
One thing I was taken back by while watching Notch coding (besides his incredible productivitiy) was that all of his code was super-simple... no crazy tricks (b
by mrspeaker 15y ago
One thing I was taken back by while watching Notch coding (besides his incredible productivitiy) was that all of his code was super-simple... no crazy tricks (besides some nice bit-twiddling), no weird data structures, no language-specific magic: I don't know much Java but I understood every single thing he did! That's awesome.
In fact, the source code is so straightforward that I think you could almost automatically generate the game in other languages!
- ido 15y agoWell to be honest there is very little language-specific magic in java - the base language is very simple (in terms of complexity of the language, not how easy it is to code in).
- petercooper 15y agoYes. Most of the game was easy to port. Fiddly and time consuming, but easy. Some of the math sections I could copy, run a few regexes over, and paste. Had to watch out for casting to integers, the difference in how 'super' works, and some quirks in the JRuby-Java bridging, but it was mostly a breeze.