SlideServe
Menu
Préférences
© SlideServe · v2026

Eiffel Overview by Norman Wong

fuller avatar
10 diapositives · 306 Views · Nov 03, 2012

Eiffel Overview by Norman Wong. May 10, 2001. Agenda. What’s Eiffel Language Environment Methodology Example Conclusion. What’s Eiffel. Eiffel is a pure object-oriented language Developed in 1985 by Bertrand Meyer (a French Computer Scientist)

Eiffel Overview by Norman Wong - slide 1
01 / 10Eiffel Overview by Norman Wong
1 / 17

Télécharger la présentation

Eiffel Overview by Norman Wong
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Eiffel Overview byNorman Wong May 10, 2001

  2. Agenda • What’s Eiffel • Language • Environment • Methodology • Example • Conclusion

  3. What’s Eiffel • Eiffel is a pure object-oriented language • Developed in 1985 by Bertrand Meyer (a French Computer Scientist) • Syntax loosely derived from Simula, Pascal, Ada, ALGOL, CLU and Z • Eiffel is a methodology, language and environment for developing high-quality reusable software components.

  4. Language • The Eiffel language includes many important features • Simple, highly readable syntax • Automatic memory management (garbage collection) • Disciplined exception handling • Interoperability with other languages such as C and C++ • Large collections of high-quality reusable class libraries for many application areas

  5. Environment • Eiffel has a fully graphical environment: • Analysis and design workbench • Editor • Browser and debugger • Documentation

  6. Methodology • Clean Multiple Inheritance • Renaming mechanism eliminates name clashes • Static, strong-typing • Errors are caught at compile time, not run time • All message binding is dynamic

  7. Example Example of a bank account balance logic: classACCOUNT feature balance: INTEGER owner: PERSONminimum_balance: INTEGER is1000open (who: PERSON) is -- Assign the account to ownerwho. do owner := who end deposit (sum: INTEGER) is -- Deposit suminto the account. do add (sum) end

  8. Example (Cont.) Withdraw (sum: INTEGER) is - Withdraw sum from the account. Do Add (-sum) End May_withdraw (sum: INTEGER): BOOLEAN is -- Is there enough money to withdrawsum? Do Result := (balance >= sum + minimum_balance) End Feature {NONE} Add (sum: INTEGER) is -- Addsumto the balance. Do Balance := balance + sum End End-- class ACCOUNT

  9. Conclusion • Eiffel is a comprehensive approach to the development of high-quality software • Eiffel is quickly becoming the language of choice for teaching modern software technology

  10. Resources • See the ISE (Interactive Software Engineering) Web page: http://www.eiffel.com/ • “Data Structures and Software Development” Eiffel Edition by Jean-Paul Tremblay and Grant A. Cheston