Is this satire? If not: You know, not that it would mean much anyway but it really doesn't count if you just delete all of the line breaks 'cause you're using a language that doesn't require them.
on proggit there has been a recent fad to reimplement reddit in X lines of Y in Z minutes where X and Z are minimized and it has devolved into a satire, yes.
I'm not sure why I don't just quit while I'm behind, but what version of OSX and gcc did you build it with? I can't get it even to compile (10.5.8, gcc version 4.0.1).
OK, can we officially end the "_ in _ minutes and _ lines" meme now? While we're at it, let's close out the "check out my startup created in _ hours and $_".
Well, I think/hope that he was sort of making fun of the "in n lines of code" part by putting all his code, besides the imports, on 1 line. But yeah, I agree.
It's kind of a bummer that people feel that these endeavors are worth satire. While the titles may be a bit pithy and perhaps misleading, these X in Y lines tend to be really interesting reading, and let you glimpse into someone else's domain expertise.
It's too bad they didn't just say 210 lines of C and still show it. I would have still checked it out, and been interested.
Well, if you can do it in C, and I can see your solution, and it works, then I can do it in a line of perl. But I didn't test his code, so I don't know if this works:
I think that point was to parody all these "X programmed in Y lines of code, but without all the 'hard' stuff like load-balancing, replication, optimized SQL queries that allow it to scale, etc; that's all too 'hard' so I'll do just the easy stuff and then claim that my final product is exactly the same as X"
40 comments
[ 4.2 ms ] story [ 92.7 ms ] threadI think that's pretty much a given.
"X clone in x minutes and x lines of x."
Bravo on your new "startup".
Cute though.
It's too bad they didn't just say 210 lines of C and still show it. I would have still checked it out, and been interested.
duh.
Liked the joke :), what in all these "n lines" codes is missing is lot of things like - filtering (bad words), scaling, backup, etc.
We lispers can express any program in a single line. Some prefer that style because it brings out all the parentheses.
All of this is possible because code is data.
All we need now is for someone to do it in 1 line of Perl.
http://gist.github.com/295032
Naah, then you'd say that defining a macro for a semicolon is cheating :)
new user creation is broken. new subreddit creation is broken. comments are broken. popular/new/controversial/saved is missing.
search is good though. rimshot
real 0m14.316s
user 0m0.496s
sys 0m0.411s