Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: pissed off about functional programming

by mstone (Deacon)
on Apr 25, 2005 at 22:22 UTC ( [id://451363]=note: print w/replies, xml ) Need Help??


in reply to Re^3: pissed off about functional programming
in thread pissed off about functional programming

Why bother with C? That just invites arguments about whether it's fair for me to use gecko instead of writing my own layout engine from scratch.

O'Caml supports both functional and imperative programming, so we can eliminate all that quibbling by doing both versions in the same language and using the same libraries. Then we can be really sure that we're seeing a valid comparison between the functional and imperative styles.

So.. you spend five weeks writing a web browser in a strictly O'Caml functional style, then I'll see if I can write an O'Caml imperative version that matches your feature set in one year.

Or how about you do your version in O'Caml, and I'll do my version in Java? Again, you get five weeks, and I get a year.

If you want to compare library sets, we'll compare library sets. If you want to compare languages, we'll compare languages. Either way, I think you'll have a hard time demonstrating even a consistent 1.25x increase in productivity strictly from using the functional style.

Replies are listed 'Best First'.
Re^5: pissed off about functional programming
by Anonymous Monk on Apr 25, 2005 at 23:59 UTC
    So.. you spend five weeks writing a web browser in a strictly O'Caml functional style, then I'll see if I can write an O'Caml imperative version that matches your feature set in one year. Or how about you do your version in O'Caml, and I'll do my version in Java? Again, you get five weeks, and I get a year.
    Do it guys, I'd love to see something better in the (free) browser department than Mozilla. (There's a project that could use some desperate refactoring (functional or otherwise))

      You think it’s possible for one guy to rewrite something to the level of completeness that Gecko has reached, within in a year? I’m no fan of the bloat that Gecko has become, but I’m absolutely certain you’re setting yourself up for some disappointment.

      Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://451363]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-28 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found