Advanced | Help | Encyclopedia
Directory


Abstraction inversion

In computer programming, abstraction inversion occurs when a programmer creates simple constructs on top of complex constructs.

The correct way is considered to be the other way round – to create complex constructs on top of more basic constructs.

Abstraction inversion is an example of an anti-pattern.

Choosing a toolset that was not optimised for the task results in poor performance.

Sometimes mis-used as a term of insult against an architecture or design. In practice most architectures had a reason to be designed that way. Designs that are purist and aesthetically pleasing may lack practicality. More often, features that are added after the original design get done as a workaround in an ugly or inefficient way.

Examples are common outside professional programming circles:

  • Using Excel lookup functions to replicate the functionality of a database
  • Using variant data types as loop counters in Microsoft Visual Basic where an integer type is also available.







Links: Addme | Keyword Research | Paid Inclusion | Femail | Software | Completive Intelligence

Add URL | About Slider | FREE Slider Toolbar - Simply Amazing
Copyright © 2000-2008 Slider.com. All rights reserved.
Content is distributed under the GNU Free Documentation License.