Buscar en Mind w/o Soul

martes, diciembre 30, 2008

Functional vs Imperative Programming

In imperative programming, procedures are structured around data transformations. In functional programming, functions are structured around data dependencies.

The tricks you learn to program the imperative way are different to those you use for funtional programming, that's why it's difficult for IP programmers to do the switch to FP. Not because FP is inherently more difficult, but because you lose your expertise and start again as a beginner.

No hay comentarios: