page13.html

来自「Data Structures And Algorithms With Obje」· HTML 代码 · 共 38 行

HTML
38
字号
<HTML><HEAD><TITLE>Abstraction</TITLE></HEAD><BODY bgcolor="#FFFFFF"> <a href="../index.html" target="_top"><img src="../icons/usins.gif" alt="Logo" align=right></a><b>Data Structures and Algorithms with Object-Oriented Design Patterns in Python</b><br><A NAME="tex2html1351" HREF="page14.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html1349" HREF="page12.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html1343" HREF="page12.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A>  <A NAME="tex2html1353" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <BR><HR><H3><A NAME="SECTION001201000000000000000">Abstraction</A></H3><P>Abstraction can be thought of as a mechanism for suppressingirrelevant details while at the same time emphasizing relevant ones.An important benefit of abstraction is that it makes it easierfor the programmer to think about the problem to be solved.<P>For example,<em>procedural abstraction</em> lets the software designerthink about the actions to be performedwithout worrying about how those actions are implemented.Similarly,<em>data abstraction</em> lets the software designer think aboutthe objects in a program and the interactions between those objectswithout having to worry about how those objects are implemented.<P>There are also many different <em>levels of abstraction</em>.The lower the levels of abstraction exposemore of the details of an implementationwhereas the higher levels hide more of the details.<P><HR><A NAME="tex2html1351" HREF="page14.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html1349" HREF="page12.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html1343" HREF="page12.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A>  <A NAME="tex2html1353" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <P><ADDRESS><img src="../icons/bruno.gif" alt="Bruno" align=right><a href="../copyright.html">Copyright &#169; 2003</a> by <a href="../signature.html">Bruno R. Preiss, P.Eng.</a>  All rights reserved.</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?