comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Fun: the Ada assignment operator is an alias of the equivalence operator
Date: Sat, 28 May 2011 02:48:29 +0200
Date: 2011-05-28T02:48:29+02:00	[thread overview]
Message-ID: <op.vv51u3xqule2fv@douda-yannick> (raw)

Hello,

A very light topic: I've just discovered the Ada / Pascal assignment  
operator, is one of the alias of the logical-equivalence or defined-as  
operator, that is, “ := ” is an alias of “ ≡ ”. As was trying to makeup my  
mind about some ambiguities in the use which is made of “ ≡ ” when I  
landed to this Wikipedia page :
http://en.wikipedia.org/wiki/List_of_logic_symbols

This is a rather good choice which was made… would have been a perfect  
choice is this was not used for side effects (let say this is just the  
interpretation context which slightly vary :-D ).

-- 
“Syntactic sugar causes cancer of the semi-colons.”  [Epigrams on  
Programming — Alan J. — P. Yale University]
“Structured Programming supports the law of the excluded muddle.” [Idem]
“c++; /* this makes c bigger but returns the old value */” [Anonymous]



             reply	other threads:[~2011-05-28  0:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28  0:48 Yannick Duchêne (Hibou57) [this message]
2011-05-28  7:25 ` Fun: the Ada assignment operator is an alias of the equivalence operator Dmitry A. Kazakov
2011-05-28  8:02   ` Yannick Duchêne (Hibou57)
2011-05-28  9:03     ` Dmitry A. Kazakov
2011-05-28  9:19       ` Yannick Duchêne (Hibou57)
2011-05-28  9:58         ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox