comp.lang.ada
 help / color / mirror / Atom feed
* Fun: the Ada assignment operator is an alias of the equivalence operator
@ 2011-05-28  0:48 Yannick Duchêne (Hibou57)
  2011-05-28  7:25 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 6+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-05-28  0:48 UTC (permalink / 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]



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-28  9:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-28  0:48 Fun: the Ada assignment operator is an alias of the equivalence operator Yannick Duchêne (Hibou57)
2011-05-28  7:25 ` 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

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