liberty-eiffel
[Top][All Lists]
Advanced

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

Re: Infix "*" in ABSTRACT_STRING


From: Paolo Redaelli
Subject: Re: Infix "*" in ABSTRACT_STRING
Date: Fri, 29 Dec 2023 16:34:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

Il 29/12/23 15:25, Patrick Cloarec ha scritto:

Such a functionality is perfectly acceptable as regular FUNCTION (e.g. a feature named "repeat" in class ABSTRACT_STRING). infix operators are embarrassing aspects of Eiffel.

As in

"Ho, ".repeated(3)+"happy new year!" ~ "Ho, Ho, Ho, happy new year!"

?

How would it be "embarassing"?



reply via email to

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