Live data from Hacker News

Reddit Clone in 10 minutes and 91 lines of Clojure

bestinclass.dk

1–10 of 31 posts

Re: Reddit Clone in 10 minutes and 91 lines of Clojure

#6
post #4
post #2

Exactly. A Reddit frontpage for 1 user and 10 articles should be about 90 lines of code.

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)

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

#7
post #4

Earlier quoted context omitted.

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)

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.

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

#8
post #4

Earlier quoted context omitted.

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)

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.

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

#9
post #4
post #2

Exactly. A Reddit frontpage for 1 user and 10 articles should be about 90 lines of code.

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)

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

#10
post #4

Earlier quoted context omitted.

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)

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.

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.

Post reply on HN