Re: vote on assignments as expressions

"Mark Hahn" <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
Laurent Dube wrote:

> Operators are given the names of
>  - prepositions (plus, minus, times)
>  - conjunctions (or, and)
>  - adverbs (not)
>  - adjectives (greater than)
>  - verbal adjectives (divided by)
>
> That's why "gets" doesn't cut it as an operator name.

I think you have successfully demonstrated that operator names can be any
part of the english language :-)

> If we need to replace the word operator in
>
>     foo( a operator b )
>
> to express the action of assigning, or the result of being assigned,
> the picking is poor, leaving maybe only
>
>     foo( a assigned b )

Past tense verb?  That's better?  Quit while you are behind. :-)

Actually I'll vote for some other symbol combination since you pointed out
the problem with "<-".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.