No label defined (Q3994366)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

scientific article; zbMATH DE number 41037
Language Label Description Also known as
default for all languages
No label defined
    English
    No label defined
    scientific article; zbMATH DE number 41037

      Statements

      0 references
      0 references
      17 September 1992
      0 references
      Software development
      0 references
      structured programming
      0 references
      program development
      0 references
      stepwise refinement
      0 references
      abstract data types
      0 references
      Modula-2
      0 references
      Fortran-77, PL/I
      0 references
      Pascal
      0 references
      0 references
      0 references
      This is a very traditional undergraduate programming text. It starts with ``what is a program'' and with an example of a program for solving a simultaneous linear system of two equations, proceeds with computer organization and programming-in-the-small (i.e., Pascal), and finally deals with programming-in-the-large, the use of data abstraction and Modula-2, and operating systems \((Unix^{TM})\). The volume of the material is very large, and the very systematic presentation is often superficial. The authors had to choose the emphasis of their book, and they seemingly did it: they stress the syntax of Pascal, Modula-2, and some of the Unix interfaces. Significant programming concepts are all too often discussed in the same manner as much less important details. Many important notions (correctness, abstraction, encapsulation, abstract data types, etc.) are presented like checklist items as they are essentially not used afterwards. The concept of program (rather than just input data) correctness and its implications are not used at all. This is one of the fundamental - if not the most fundamental - concepts in programming, and leaving it outside of a current textbook is just unacceptable. On a related note, the text presents programming as a rather boring and mundane activity rather than as an exciting one. Most of the material is ``syntactically correct'', but the reader will hardly become a good programmer and will never become an enthusiastic one if he will use this book. Software development is presented as a set of predefined rules and ``instructions''. The waterfall model of software development advocated by the authors is now widely considered inadequate and almost always unusable in large projects due to unknown requirements, lots of changes, etc. Although this model is useful for small projects, some caveats about its general role are clearly necessary. They are generally absent. Important and useful advice provided by the author (e.g., that the problem statement should not predefine the following phases) is lost in the sea of other, much less important, statements. For top-down development a formalized problem statement is necessary, contrary to the book's recommendation to present it in a natural language. Although structured programming means much more than absence of gotos, the very first phrase (p. 69) used in presenting these ideas is a criticism of the goto statement. This damage is augmented by an overuse of syntax, including the syntax of languages which are never explained in detail. This is just one example of the superficiality of the authors' approach: the surface properties are dealt with, and the correct phrases are delivered, but the essential paradigms of programming are not stressed, lost among irrelevant details, and often trivialized (e.g., the authors' attempts to categorize everything, even the examples of program development with respect to ``aspects'' of specification, design, and implementation). The best parts of the book (showing program development by stepwise refinement) rehash good texts of the mid-70s. These texts usually emphasized the principles rather than the details, showed program design considerations, and at least made attempts to deal with program correctness. This is not the case here. Correctness of algorithms and programs is not mentioned after it is proclaimed the most important property of a good program. The programs are oriented toward fixed format of data (e.g., names of length 12, counting the minus signs in order to print a report header (p. 136), etc.) and glass teletypes as terminals. Error messages are in upper case only and usually state something like ``Wrong data''. Elementary important algorithms like binary search are not treated explicitly, but at best are hidden in the exercises. The process of unlearning these wrong habits is painful and expensive. It may start as early as in Chapter 6 (on ``large programs'') where the authors present the concepts of a module and of an abstract data type that should be consistently dealt with from the very beginning. Chapter 6 presents axiomatic definitions of abstract data types and even the notion of assertions, but their importance is not adequately explained, and they are never actually used. These definitions include expressons like (p. 257): \[ A_ i= \{A_{i1}(op_{ij1}, op_{ij2}, ...op_{iJ}), ...,A_{iq}(op_{ik\;1}, ...,op_{iK})\} \] where \(j_ 1,...,J\); \(k_ 1,...,K\in \{1,2,...,J_ i\}\) for an abstract data type axiom \(A_ i\). This notation hinders understanding, and is never used afterwards. On the other hand, lists and trees are not presented as (examples of) abstract data types, but rather are considered in a very sketchy manner with important notions often compressed into several lines. Before introducing Modula-2, the authors show how abstract data types may be implemented in Fortran-77, PL/I, and Pascal. However, they do not stress that these languages do not support information hiding, and therefore this ``implementation'' of abstract data types can be accomplished only by a manual enforcing of a certain discipline both by developers and by the users. Taking into account the abundance of good and excellent texts on ``Fundamentals of programming'', a new text should be evaluated based on its contributions with respect to the existing ones. It seems that too often the contribution of the book is non-positive.
      0 references

      Identifiers

      0 references
      0 references
      0 references
      0 references