Linked by Thom Holwerda on Sat 26th Nov 2005 17:02 UTC, submitted by Megatux
Gnome "I followed the debate about a successor for the C/C++ combination as the primary language for developing the GNOME core desktop platform very closely last month. There has been discussion about a number of options. What I would like to do on this page is give an overview how a probably less well-known language might be a viable compromise as a C/C++ successor. This language is called Eiffel and exists for over a decade. Eiffel takes the principle of Object-Oriented programming to its extremes and, as a consequence, is a very easy to learn language."
Permalink for comment 65129
To read all comments associated with this story, please click here.
Member since:

But if it does what it promises (and I'm not an Eiffel expert so who knows) by reducing the number of bugs, wouldn't you *want* to do something like that? A few extra LOC for less bugs is well worth it IMO.

From the DBC wiki:

"The contract conditions should never be violated in program execution: thus, they can be either left in as debugging code, or removed from the code altogether for performance reasons."

I wonder if the Eiffel compiler has a "release" mode configuration (either built in or configurable via switches) that strips out the DBC code after testing is complete...i.e. I would never ship production code with unit tests compiled in as well (for obvious perf reasons), though in a "debug" release the unit tests would be left in the code.

Reply Parent Score: 1