Another layer of indirection12/30/2023 Abstraction is the aggregation and meaningful naming of a number of elements such as pieces of data or program instructions, for instance the concept of a file or method call, whereas indirection is the decoupling of entities to facilitate the postponement of the realisation of their relationship, for example, the use of JNDI to separate the identification of a resource within a program from the actual resource which may eventually be provided by an application container.įrequently the concepts go hand in hand and which one applies to a particular construct depends on what exercise or discussion is in progress. Layer of Abstraction and Level of Indirection are distinct concepts. Indirection may be considered to be a special type of abstraction where the location is abstracted. You do not access the resource directly, instead you access through a channel that passes your request through a series of servers, applications and routers. If you know a web resource's URI, you can access the resource without knowing its precise location. Indirection refers to making the location of an item transparent. C# itself is not manipulated using machine code, it is manipulated using a "Common Runtime Environment" which itself is an abstraction of a computer and operating system. Internally, the IDE manipulates the widget using another layer of abstraction such as a high level language (such as C#). The position of a screen widget is abstracted out to a visual location in a frame which you can change by dragging the widget around. The IDE lets you think of the application in terms of easy-to-manipulate items in a What-You-See-Is-What-You-Get manner. Consider creating a Windows Form application with the Visual Studio IDE. In programming, a good example is the difference in details between machine code and the various tools for creating applications that are ultimately based on machine code. Abstraction deals with simplification, indirection deals with location.Ībstraction is a mechanism that "hides" complicated details of a object in terms of simpler, easier to manipulate terms.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |