60 likes | 304 Views
Eiffel. Eiffel is an object-oriented language developed by Bertrand Meyer. Eiffel supports contracts. Our textbook uses Eiffel for examples, so you’ll have to be able to read Eiffel, but that’s easy:
E N D
Eiffel • Eiffel is an object-oriented language developed by Bertrand Meyer. • Eiffel supports contracts. • Our textbook uses Eiffel for examples, so you’ll have to be able to read Eiffel, but that’s easy: • JML and Code Contracts use a notation that is inspired by Eiffel, so Eiffel will look familiar to you. • An Eiffel class has features. Features may be implemented as attributes or methods. The next slide shows how features are classified. • Slide 3 shows an Eiffel class with specification: • Pre conditions: require • Post conditions: ensures