Browse thread
practical functional programming
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2000-11-06 (22:06) |
From: | John Max Skaller <skaller@o...> |
Subject: | Re: practical functional programming |
Chris Hecker wrote: > I'm open minded, so I'm genuinely interested to know if the work of > making something like a simple datastructure purely functional is more > than an academic exercise, or if it pays back in real-sized production software. Depends on the application. Consider for example a browser in which when you hit the 'back' button, you want to go back to the same state as previously: with purely functional data structures attached to a state object, going back is a simple matter of popping the state object from a stack (and re-rendering :-) This is not so easy to do with a more extensively mutable state object. -- John (Max) Skaller, mailto:skaller@maxtal.com.au 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 checkout Vyper http://Vyper.sourceforge.net download Interscript http://Interscript.sourceforge.net