[Haskell-cafe] Comments requested: succ Java

Curt Sampson cjs at starling-software.com
Mon Sep 28 12:56:42 EDT 2009


Ok, my last post on this for real this time.

On 2009-09-28 08:13 -0600 (Mon), John A. De Goes wrote:

> Let me ask you this question: how long would it take you to get an  
> HTML/CSS, W3 compliant browser in Haskell?

A long time. On the other hand, by grabbing a copy of Mozilla, I'll have
one far faster than you'll have yours in Java, mine will work a lot
better, run more quickly, and work better with most sites.

While I advocate using Haskell, I don't advocate being silly. 

(Incidently, I have direct experience with an almost exactly parallel
situation. I replaced a system that was thousands of lines of
difficult-to-maintain Java code with a few hundred lines of Haskell that
feed Microsoft Excel. The user is very pleased that he can now can do
far more extensive tweaking of the UI himself, including major features
he never had at all before, such as real-time graphing of the data.)

> Or how about a peer-to-peer networking system with seamless scaling
> and automatic failover?

Can you give me an example of a real-life system using this you've set
up in "a few minutes"? My experience building systems with similar
things (the very mature and proven MogileFS suite of tools) has been
that the libraries were nice, but did not solve the majority, or even a
large minority, of the problem.

> Libraries are _everything_. In many cases, they can increase your
> effective budget by 10x or even 100x.

Or the other way around, as I've seen by ripping out thousands of lines
of Hibernate code, and all of the work done to adapt a system to that
model, and replace it with a few hundred lines of SQL and JDBC calls.
That library has probably wasted more man-years than anything else I've
seen in the Java world.

cjs
-- 
Curt Sampson       <cjs at starling-software.com>        +81 90 7737 2974
           Functional programming in all senses of the word:
                   http://www.starling-software.com


More information about the Haskell-Cafe mailing list