Hello World in Eiffel
Every programming journey starts with Hello World. Let’s write our first Eiffel program using EiffelStudio, the primary Eiffel development environment.
The Code
Create a file named hello.e: …
Every programming journey starts with Hello World. Let’s write our first Eiffel program using EiffelStudio, the primary Eiffel development environment.
Create a file named hello.e: …
In Eiffel, variables are called attributes when they belong to a class and locals when they exist within a routine. As a statically and strongly typed object-oriented language, every variable must …
Read more →Operators are the building blocks of expressions. In Eiffel, they look familiar at first glance - +, -, *, / work as you would expect - but there is something fundamentally different going on …
Control flow decides what a program does and how many times it does it. Eiffel gives you a clean, readable set of constructs — if/elseif/else for branching, inspect for multi-way selection, and the …
In Eiffel, there are no free-standing functions - every piece of behavior lives inside a class as a feature. Features that do something are called routines, and Eiffel draws a sharp, language-level …
Read more →Showing 1–5 of 5 posts (page 1 of 1)