[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Keeping a running total?
This is the normal situation for functional (as opposed to imperative)
languages.
Benefits: 1) Transparency - it is far easier to reason about a program that is free from side effects. So you can prove your program is correct with less effort. 2) Scalability - pure (side-effect free) programs are much easier to parallelize 3) Learning - variables in functional programs are the same as variables in mathematics - you don't have to learn a new concept (assingment) 4) Debugging - no need to monitor when a variable changes value. 5) Power - you can bind a variable to a function definition, then it can be passed as the argument of a function (see FXSL) Downsides: 1) Performance - functional languages are stil slower than imperative languages, although the gap is closing. 2) Large scale program structure - OO programming seems to have the advantage here. From: Steve <subsume@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Re: Keeping a running total? Date: Wed, 12 Jul 2006 12:52:59 -0400 _________________________________________________________________ Windows Live Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|