Re: Add spaceship assignment operator
| From: | Alain Williams | Date: | Thu, 24 Mar 2016 22:08:15 +0000 |
| Subject: | Re: Add spaceship assignment operator | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91931@lists.php.net to get a copy of this message | ||
On Thu, Mar 24, 2016 at 09:16:50PM +0100, Midori Kocak wrote:
> actually it could be proposed to C in 1970 in a same manner for += operator by saying +== and
> +=== and also +====. But hence Dennis Ritchie is dead and he accepted += as a founding father, we
> have no chance to ask him. Can we ask maybe to Bjarne Stroustrup as being one of another founding
> fathers? Is there anyone being in contact with him?
from what I can remember of the PDP-11 instruction set the ++ and -- operators
were put into C because there were op codes that did that, that is what someone
told me some 35 years ago.
We keep them because all Unixy languages have them.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>