Pyramid of doom (programming)
In computer programming, the pyramid of doom is a common problem that arises when a program uses many levels of nested indentation to control access to a function. It is commonly seen when checking for null pointers or handling callbacks. Two examples of the term are related to a particular programming style in JavaScript, and the nesting of if statements that occurs in object-oriented programming languages when one of the objects may be a null pointer.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.