Que? Someone writes code on jos forum?
I've barely taken a sec to look closely, but this guy's code seems to have a remarkable amount of clarity.
http://www.cryptopunk.com/misc/Probably useful for someone writing a wiki teaching programming concepts in a reasonable way. In this light, funny how much heat is generated on the forums.
Before anyone spends too much time there though... you might note that the code should have some sorta commenting, for an audience who might not be aware of the author's perspective. ;)
Quien es el?
The sandpile SWF looks suspiciously like the sand game I linked to last week.
MarkTAW
January 2nd, 2006
<<I came across this nice little game via Reddit... >>
Kenny
January 2nd, 2006
Yea, this guy is pretty clearly awesome. Everything I aspire to is in that directory. Where do I start?
January 2nd, 2006
I have seen better. Plus, he couldnt even help us out with a web page of links to the projects.
Delete the url back to his home page and you get some descriptions and links.
Neat little projects. Great taste in langugaes: C++, Scheme, Python.
Who's better? I'd love to see it, send a link.
January 2nd, 2006
Ah, well, he's a game programmer. What did you expect? The rest of us languish in mediocre business "programming" jobs. Anything we do that is beautiful is done at home, not at work.
"I have seen better."
Maybe; my reaction was completely subjective... but it's not often I see the sort of code which is geared at explaining things, without some funky personal style, an axe go to grind, or the desire to pull out every stop for a 1-liner. I guess it's similar to a sketch of clean prose.
In a book, you have the advantage of inventing your own syntax. So for example, Aho's _The Design and Analysis of Computer Algorithms_ book was IIRC a Pascal-like language, but not Pascal. Other books do similar things... So it tends to surprise me that something like Python can be vaguely readable without extending the syntax. ;)
One thing that annoyed me though was this * operator Pythonistas apparently use when passing a tuple to a function... not to mention how you don't want to modify default values of a named parameter.
"I have seen better."
Drive-by internet one-upsmanship with no muscle behind it.
Bring forth the better!
January 2nd, 2006