Critiques and Limits
Every computer system has parts that cannot be functionally pure because they exist to distribute CPU cycles or other resources to different modules. For example, most systems have an "initialization" section that starts up the modules. Other well-known examples are the interrupt vector table and the main loop.
Some functions inherently have mixed semantics. For example, a function "move the car from the garage" inherently has a side effect of changing the "car position". In some cases, the mixed semantics can extend over a large topological tree or graph of related concepts. In these unusual cases, functional design is not recommended by some authorities. Instead polymorphism, inheritance, or procedural methods may be preferred.
Read more about this topic: Functional Design
Famous quotes containing the word limits:
“... Aint it a caution to us not to fix
No limits to what rose in rubbing sticks
On fire to scare away the pterodix
When man first lived in caves along the creeks?
Marvelous world in nineteen-twenty-six.”
—Robert Frost (18741963)