[Date Index] [Thread Index] [Author Index]
Re: Functional programming?
peter lindsay wrote: > To a novice in these matters like myself it looks to me as if:1. Debugging > FP code could be very challenging > 2. Although FP looks very concise and fast, there a lot going on that's not > immediately apparent and its not clear [ to me ] how to get full hand-on on > that code. > I know these comments will seem naive to the many experts out there, but its > just my observation. > > Peter > > I don't think this comment is naive at all - code in a style that seems clear to you, but bear in mind that if you expect performance to be an issue, the innermost loops should use FP if at all possible. Often the only way to unpick really complex expressions, is to select successively larger pieces (using Ctrl-. ) copy them somewhere, and see how they evaluate. David Bailey http://www.dbaileyconsultancy.co.uk