Nota: A tradução desta entrada está atualmente em revisão de qualidade, portanto parte do conteúdo é exibida temporariamente apenas em inglês.
Este verbete ainda não foi traduzido para o seu idioma, portanto o original é exibido abaixo.
nested
This term describes a hierarchical arrangement where one item is contained within another of the same kind. In physical contexts, it emphasizes space-saving efficiency and a gradual reduction in size, such as with measuring cups or Russian dolls. It suggests a snug, interlocking fit that creates a compact unit.
In technical and computational contexts, the term refers to logical layering. A nested structure allows for complex conditional logic or data organization by placing one loop, function, or tag inside another. This creates a dependency where the inner element is subject to the constraints or scope of the outer element.
Meanings
Examples
The set consists of several nested bowls of different sizes.
I love how these nested dolls get smaller and smaller.
Wait, is this a nested loop inside another loop?
The data is stored in nested folders to keep it organized.
She carefully placed the nested boxes back into the cupboard.
I need to fix this nested if statement before the code will run.
The ancient chest contained several nested compartments for jewelry.
Too many nested parentheses make the equation hard to read.