OpenSource For You

Software abstractio­n

-

Abstractio­n is the holy grail of programmin­g in highlevel languages. Abstractio­n allows programmer­s to focus their attention on what needs to be done, instead of how it needs to be done. The programmer­s can employ abstractio­ns without concern about how they are implemente­d. Consider a simple example of a library ‘sort’ routine that programmer­s use. The programmer­s need not be concerned with how the sort routine is implemente­d; all they need to know is, what are the arguments that need to be supplied to the sort routine, and how does it return the results. That allows them to use the ‘sort’ routine with minimal effort. Similarly, FoQsLGHr EDsLF GDWD WySHs suFK Ds WKH LQWHJHr or floDW, supported by a high-level programmin­g language. mrogrammer­s can use these data types and the operations supported on them without having to be concerned with how those operations are implemente­d, or how the integer data type is internally represente­d inside the machine. Abstractio­n is useful because it allows programmer­s to think and spend their time on solving sSHFLfiF SroEOHPs, wKLOH PDNLQJ usH oI WKH DEsWrDFWLo­Qs provided by the high-level programmin­g language. It improves programmer productivi­ty and facilitate­s ease of programmin­g.

Many high-level programmin­g languages support abstract data types such as sets, lists or maps, in addition Wo EuLOW-LQ WySHs suFK Ds WKH LQWHJHr, FKDrDFWHr or floDW.

Newspapers in English

Newspapers from India