Geometry.Net - the online learning center
Home  - Basic_E - Eiffel Programming
e99.com Bookstore
  
Images 
Newsgroups
Page 1     1-1 of 1   
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

         Eiffel Programming:     more books (23)
  1. Object Oriented Programming in Eiffel by Robert Rist, Robert Terwilliger, 1995-03
  2. Windows Programming Made Easy: Using Object Technology, COM, and the Windows Eiffel Library by Glenn Maughan, Raphael Simon, 2000-10-11
  3. Object-Oriented Programming in Eiffel (International Computer Science Series) by Peter G. Thomas, Raymond A. Weedon, 1997-11
  4. An Object-Oriented Introduction to Computer Science Using Eiffel by Richard Wiener, 1996-04-26
  5. Object-Oriented Software Engineering with Eiffel (Addison-Wesley Eiffel in Practice Series) by Jean-Marc Jezequel, 1996-03-11
  6. Object Structures: Building Object-Oriented Software Components With Eiffel (Addison-Wesley Eiffel in Practice Series) by Jacob Gore, 1996-03
  7. Eiffel : The Language (Prentice Hall Object-Oriented Series) by Bertrand Meyer, 1991-10-01
  8. Software Development Using Eiffel: There Can Be Life Other Than C++ (Prentice Hall Object-Oriented Series) by Richard Wiener, 1995-01
  9. Object Technology for Scientific Computing: Object-Oriented Numerical Software in Eiffel and C (Prentice Hall Object-Oriented Series) by Paul F. Dubois, 1997-01
  10. Eiffel: An Introduction by Robert Switzer, 1993-06-10
  11. Objects Unencapsulated: Java, Eiffel, and C++ (Object and Component Technology Series) by Ian Joyner, 1999-06-16
  12. Eiffel Object-orientated Programming (Computer Science) by A.J. Tyrrell, 1995-10-27
  13. Object-Oriented Programming in Eiffel `2nd EDITION by Prtrr GThomas, 1997
  14. Object-Oriented Programming in Eiffel by Prtrr GThomas, 1995

1. Eiffel Programming - Wikibooks, Collection Of Open-content Textbooks
Objects Unencapsulated Java, Eiffel, and C++, Ian Joyner (Prentice Hall). Retrieved from http//en.wikibooks.org/wiki/eiffel_programming
http://en.wikibooks.org/wiki/Eiffel_programming
Eiffel programming
From Wikibooks, the open-content textbooks collection
Jump to: navigation search Eiffel is a complete object-oriented language designed from the ground up to support object-oriented programming according to the design by contract (DbC) paradigm. This WikiBook introduces the fundamentals of Eiffel.
Contents
edit Introduction
edit Classes
The basic construct in Eiffel is the class. In fact there is no other construct of note. So immediately we have a language which is fundamentally simpler than C/C++ and Object Pascal. A class represents entities, the attributes of those entities and the operations that those entities can perform. This gives you a fundamental mechanism for project organization because any application is organized into a set of interacting classes. Classes represent real world entities in a model, but can represent more artificial artifacts that occur only in computer programs. An example of an Eiffel class is: class CAR end A class represents all objects of that type. For instance, in the real world we have one concept of CAR, but there are many instances of CARs. We should be careful to distinguish between a class as a conceptual design pattern of entities and objects that represent the entities themselves.
edit Libraries
edit Features
class CAR feature colour COLOUR a field velocity INTEGER is a function do Result speed end wheels INTEGER is a constant speed INTEGER stop is a procedure do speed end end CAR
edit Inheritance
Perhaps the distinguishing feature of object-oriented languages—after classes—to many people is inheritance. Simply put, inheritance is the ability to create a new class from an existing class. It only makes sense to do this when the existing class provides features wanted in the new class. Where features are not exactly what is required in the new class, they can be redefined. Redefinition can take two forms—either redefinition of an operation or function, or redefinition of type. Redefinition of operation is only meaningful where the feature is a routine. Redefinition of type can be applied to fields, functions, and arguments In order to build new classes out of existing classes and to reuse features already defined in those classes, you use inheritance. In Eiffel, you use the inheritance clause as follows:

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

Page 1     1-1 of 1   

free hit counter