TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Notch, WebGL, Dart, and ramping up quickly

348 pointsby slackpadover 11 years ago

14 comments

kleibaover 11 years ago
<i>Now, I haven&#x27;t seen one line of Notch&#x27;s code. I have no idea if it&#x27;s well structured or spaghetti. I would make an educated guess and say that there&#x27;s a lot of the basics in this project that have been ported over from the Minecraft or 0x10c code.</i><p>This last point is rather unlikely I think. I spent more than one or two weeks worth of time watching the various screencasts you can find on twitch.tv of Notch coding (I find it highly relaxing).<p>He usually writes everything from scratch. He doesn&#x27;t copy &amp; paste from other projects because he&#x27;s experienced enough to pretty much to just write down the code he wants. He also hardly ever looks up documentation (besides using autocomplete for library methods). Also, he practically doesn&#x27;t write any code comments in these toy projects.<p>He&#x27;s extremely productive in my opinion, and can easily spend hours at a time coding. He does a lot of play testing and small gameplay fixes, even at early stages.<p>I&#x27;ve learned a whole lot just watching these videos. For instance that we don&#x27;t have the same taste in music :-) But thank god for twitch.tv.
评论 #6842578 未加载
评论 #6843031 未加载
discreteeventover 11 years ago
I don&#x27;t want to criticise the blub essay too much because there were some valid points in there. But in fairness as soon as I read it I thought of John Carmack. He uses C++. Given that the perspective of the essay is Lisp then if C++ isn&#x27;t a blub I don&#x27;t know what is.<p><i>But John Carmack is really productive.</i><p>Also he doesn&#x27;t use vi or emacs. He uses an IDE! He used it even before it had any bells or whistles at all. (He also uses Windows!)<p>So is it because he&#x27;s a genius and he does it in spite of using blub? Or is it because:<p>&quot;Peter Norvig here. [....] In terms of programming-in-the-large, at Google and elsewhere, I think that language choice is not as important as all the other choices: if you have the right overall architecture, the right team of programmers, the right development process that allows for rapid development with continuous improvement, then many languages will work for you; if you don&#x27;t have those things you&#x27;re in trouble regardless of your language choice.&quot;<p>As for Notch. He uses Java and wait for it..<p>Eclipse!
评论 #6841954 未加载
评论 #6842954 未加载
评论 #6842192 未加载
评论 #6842052 未加载
评论 #6842167 未加载
barrkelover 11 years ago
This is less a matter of only writing what&#x27;s needed, than having written the same thing in lots of different variations, until you know the essence of the problem, and which are the most elegant paths to take.<p>A beginner in any discipline can&#x27;t accomplish so much with so little effort. And it&#x27;s wrong for a beginner to start out trying to do so, IMO; it&#x27;s too easy to get discouraged if you think from the start that you should be able to do it with so little effort.<p>Writing your first game loop is a bit clunky, trying to fit it in with whatever framework &#x2F; language &#x2F; API is hosting you, and the sequencing &#x2F; setup of everything. The tenth time, you know exactly what you want from an API, and have a good idea of what bits you need to build to get the effect you need. The hundredth time, you can look at a new API &#x2F; framework and see the what it enables you to build most efficiently, and you can let that inform the design of what you create. Then, very little effort is needed. But that&#x27;s only because you&#x27;ve already done the &quot;really complicated system for loading meshes and shaders&quot; or some equivalent in the past.<p>It&#x27;s hard to get really efficient without having done things the inefficient way to begin with, if not earlier in the current project, then in previous projects.
xradionutover 11 years ago
I don&#x27;t know why the blog poster is impressed. This is Notch&#x27;s domain, writing code of this ilk. He&#x27;s probably got over a decade or more dealing with games and graphics, the hard part is dealing with a API that&#x27;s unfamiliar.<p>(I have ported familiar code from a Python script to a C# desktop application in similar time, the hard part was dealing with various .NET quirks.)
ps4fanboyover 11 years ago
&quot;Just saw a nerd flamewar debating if I&#x27;m a bad programmer. I&#x27;m self-taught, prefer working along, and program for fun. Don&#x27;t learn from me.&quot;<p><a href="https://twitter.com/notch/status/408011329237049344" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;notch&#x2F;status&#x2F;408011329237049344</a><p>Gotta feel sorry for him, he didnt ask to be or not to be an idol, must be disconcerting to have a bunch of random strangers talking about how good you are.
dicroceover 11 years ago
I agree with his main point, but to be honest, on most of the games I&#x27;ve worked on I&#x27;ve had something playable very fast (1 or 2 weeks)... Its all the details beyond basic gameplay that take all the time and really make delivering a game hard.
评论 #6841805 未加载
HeyChinaskiover 11 years ago
Now I feel bad for slowing up my current pet project by getting bogged down writing polygon collision detection when axis aligned bounding boxes would have done for prototyping. (I&#x27;m not as quick as Notch!)
评论 #6842004 未加载
评论 #6842142 未加载
评论 #6842016 未加载
评论 #6841993 未加载
评论 #6845170 未加载
cromwellianover 11 years ago
Dart syntax is very similar to Java in many respects, but simpler, so is it really any surprise that Notch would try out Dart, given his history with Java?<p>People like what&#x27;s familiar. One of the reasons Java took off is because of it&#x27;s similarity to other ALGOL type languages. C&#x2F;C++ programmers could learn Java quickly for example.
ntideover 11 years ago
You know, I read Hacker News less and less precisely because the posts are so damn negative. For those debating whether Notch is good or bad, I suggest reading every article from programming in the 21st century.[1]<p>[1] <a href="http://prog21.dadgum.com/archives.html" rel="nofollow">http:&#x2F;&#x2F;prog21.dadgum.com&#x2F;archives.html</a>
krappover 11 years ago
&gt;Don&#x27;t build an engine that you will someday build a game on top of, because you will never get past step one.<p>I have several still-unfinished Game Maker apps which more or less died because I got so bogged down on the &quot;engine&quot;. So yeah.
评论 #6844477 未加载
评论 #6842953 未加载
jdonaldsonover 11 years ago
Ultima Underworld continues to blow my mind. Happy 22nd birthday.
detritusover 11 years ago
ahha, thanks for this! I&#x27;m really pleased to see Notch doing what I always thought he did best - messing around with wee projects and coming out with joyous little playthings.<p>Minecraft just got a little bigger than I imagine he was interested in playing with.
missing_cipherover 11 years ago
Where would a noob to this kind of stuff start? I&#x27;d like to draw a rectangle to the screen. :)
评论 #6842587 未加载
评论 #6842873 未加载
评论 #6842703 未加载
评论 #6845496 未加载
评论 #6843616 未加载
评论 #6844184 未加载
评论 #6844507 未加载
Xdesover 11 years ago
All that stuff sounds so cool, but I have no idea of how I would implement it in code. One of these days I&#x27;ll learn 3D graphics programming.
评论 #6842470 未加载