liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Infix "*" in ABSTRACT_STRING


From: Eric Bezault
Subject: Re: Infix "*" in ABSTRACT_STRING
Date: Sat, 30 Dec 2023 13:19:36 +0100
User-agent: Mozilla Thunderbird

On 30/12/2023 10:36, Patrick Cloarec wrote:
It is unnatural to me to define a binary operator as the feature of the class of one object. infix is the less intuitive construction offered by Eiffel, in my humble opinion.

They are available in one way or another in many
other languages. For example, in Python:

>>> "Ho "*3+"! Merry Christmas"
'Ho Ho Ho ! Merry Christmas'

--
Eric Bezault
mailto:ericb@gobosoft.com
http://www.gobosoft.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]