The ternary conditional operator is a short-hand method for writing an if/else statement. Does Python Have a Ternary Conditional Operator? Yes, it does. This remids me that Eiffel, at least “ISE Eiffel” does actually have conditional expressions that are the same: <span class="kwd">answer := if</span><span class="pln"> time < noon </span><span class="kwd">then</span> <span class="str">"Good morning"</span> <span…
Category: Eiffel
Eiffel, Liberty Eiffel
Single header C++ WASM binary writer (with linking/reloc support): https://t.co/Jq44aiwNRt as part of the Lobster WASM backend: https://t.co/zsC6UJRiYQ — Wouter van Oortmerssen (@wvo) June 27, 2019 Single header C++ WASM binary writer (with linking/reloc support): (link: https://github.com/aardappel/lobster/blob/master/dev/src/lobster/wasm_binary_writer.h) github.com/aardappel/lobs… as part of the Lobster WASM backend: (link: http://aardappel.github.io/lobster/implementation_wasm.html) aardappel.github.io/lobster Time is ripe to start implementing an…
Documentations, Eiffel
Maintainable Code and the Open-Closed Principle – Severin Perez – Medium
A Look at the Open-Closed Principle in JavaScript Maintainable Code and the Open-Closed Principle – Severin Perez – Medium Oh, another interesting article that tries to educate the “unliterate” JavaScript masses about the basic principle behind Eiffel…..
Eiffel
(ECMA) Eiffel Syntax Guide
(ECMA) Eiffel Syntax Guide
Eiffel, Javascript
Conditional JavaScript for Experts – Hacker Noon
Mastery of conditional expressions for cleaner codes They say in Conditional JavaScript for Experts – Hacker Noon. What they are suggesting is to use side-effects of “expression”, as Javascript does not separate commands and queries. Call me dogmatic but this behavior to look like a fundamental ingredient for disaster. In fact the same article says…
Eiffel, Javascript
Top 10 JavaScript errors from 1000+ projects (and how to avoid them)
From Top 10 JavaScript errors from 1000+ projects (and how to avoid them) Most of them are caught at compile time by strongly-typed languages. Who said Eiffel? Oh, how I want not to be so busy with other issues…. 🙁
Documentations, Eiffel, Javascript
Sheer, pure evil
JavaScript: Can (a==1 && a==2 && a==3) ever evaluate to true? Yes, it can. Understand how in this article! That’s pure sheer evil, in my humble opinion as it tricks most people. Eiffel forbids this evilness, but I shall explain it better.
Eiffel, Liberty Eiffel
It’s time to start using a modern programming language: Eiffel
It’s time to start using a modern programming language: Eiffel In fact as I read Why you should totally switch to Kotlin – Magnus Vinther – Medium I wonderded why they haven’t switched to Eiffel, as it has had for decades most of the features they praised in Kotlin!
Documentations, Eiffel
To allow or not to allow?
… at my would-be coauthors, would someone please tell them, and every non-native-English-speaker-but-aspiring-English-author, to read this? Please, please, please, please, please. In English the verb “allow” cannot take an infinitive as a complement. Ever. You may not write “my method allows to improve productivity” (even if it’s true, which it probably isn’t, but never mind).…
Eiffel, Liberty Eiffel, Mood
Oh! 8 years!
Cyril Adrian festeggia 8 anni presso Liberty Eiffel Well LinkedIn subtly suggest me to be more active on Liberty! Oh my! 🙁