I have trouble finding a simple example, but I know I have written a
lot of apps that have less than 200 lines of code, but if I had
written them in PHP, they would have been a mess.

And consider this: I worked at WineSpectator.com for awhile, and they
had me writing big import scripts for the database. These projects
usually started off sounding small: "Can you write a quick PHP script
to pull all the user subscriptions and update the user history table?"
and then they ballooned in scope, with more tables being added, and
with more transformations of the data being added. A simple PHP script
is good for a simple import of database data, but once you get to
complicated transformations, which can be broken into pieces, then you
need a multi-threaded app. I wrote one PHP script which took data from
one table (that had 100 million rows) and had to combine it with data
from 3 other tables (one of which had 70 millions rows). The PHP
script took 3 days to run. At that point I made the argument to
management "We can not handle this with PHP scripts, we need something
more sophisticated, and it needs to be multi-threaded." When they
heard "multi-threaded" they thought of Java, but they were afraid of
Java, because they felt it was verbose. Clojure is ideal for those
situations: concise, small, fast, multi-threaded.






On 16 Sty, 10:08, Thomas <th.vanderv...@gmail.com> wrote:
> Hi All,
>
> Something that came up last night in the blank? thread. What is a good way
> to show someone the advantages of Clojure. Something that is simple, not
> too complicated, easily understood, shows a (significant) benefit, etc.
>
> Any ideas? (As said in the other thread, I have used the blank? example
> from Stuart Halloway to show people the difference).
>
> Thomas

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to