Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by jrockway on Tuesday February 02, 2010 @03:58PM
(#1096087)
Exactly. A Reddit frontpage for 1 user and 10 articles should be about 90 lines of code.
[ Parent
| on HN ]
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by icey on Tuesday February 02, 2010 @04:01PM
(#1096107)
I don't understand what you mean by "Exactly."
(I'm not trying to be snarky, I just seriously feel like I've missed the point)
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by jpeterson on Tuesday February 02, 2010 @04:13PM
(#1096136)
I think the point is that replicating pretty much any site is trivially easy in any language if you don't have to worry about query performance, cacheing, scaling, etc.
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by icey on Tuesday February 02, 2010 @04:17PM
(#1096142)
Ah, that makes sense.
I didn't really see this article as being interesting from the "oh look, a reddit!" angle. I thought it was a good article in that it showed how to do a lot of things in Clojure: Java interop, a basic Compojure use case, and deployment with Leinengen.
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by inmygarage on Tuesday February 02, 2010 @04:23PM
(#1096168)
This discussion reminds me of Fred Wilson's article about bit.ly "That's only Ten Lines of Code"
http://www.avc.com/a_vc/2009/03/thats-only-ten-lines-of-code...
Sure, you can replicate lots of sites but to me Reddit wasn't great because of the tech, it was because they had built something really zeitgeisty that people liked.
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by benologist on Tuesday February 02, 2010 @04:53PM
(#1096272)
Not to mention the hard part ... building a community.
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by jules on Tuesday February 02, 2010 @05:57PM
(#1096462)
And features such as comments.
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by ThinkWriteMute on Tuesday February 02, 2010 @04:21PM
(#1096158)
Slightly on topic:
How would you attack the "query performance, cacheing, scaling, etc" problems?
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by jrockway on Tuesday February 02, 2010 @04:23PM
(#1096163)
What I meant to say is that it's a simple problem, and should be about 90 lines of code.
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by lbj on Tuesday February 02, 2010 @04:10PM
(#1096127)
Actually this will serve as many users as your system can handle.
Re:Reddit Clone in 10 minutes and 91 lines of Clojure
by abstractbill on Tuesday February 02, 2010 @04:40PM
(#1096223)
Different sense of the word "user".