Re: [RFC] Alternative syntax for Nowdoc.
| From: | Manuel Canga | Date: | Wed, 30 Jun 2021 13:20:13 +0000 |
| Subject: | Re: [RFC] Alternative syntax for Nowdoc. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115240@lists.php.net to get a copy of this message | ||
---- En mié, 30 jun 2021 14:29:40 +0200 G. P. B. <george.banyard@gmail.com> escribió ----
> Ignoring the fact that this proposal is way past the cutoff date to be able to make it into
> PHP 8.1 due to how the RFC process works,it seems that this feature just came into your mind and you
> decided to send it onto the list without considering its ramifications.Userland contribution and
> opinions on new features (or other internal discussion) is valuable but oughts to consider all the
> ramifications, good and bad, and how it affects the language as a whole. I say this because I
> didn't do this when I started contributing on this list and it made for less than stellar
> discussions.
Hi, George,
I am not an expert in developing programming languages. However, I don't agree with that.
When Dennis Ritchie and Brian Kernighan developed C. They didn't think in avoid pointers
because of they thought what they could be dangerous.
Surely when someone invented air planes, he didn't think of risks but opportunities
It was my fault. I thought that someone here would propose an idea and if this was useful, then
everyone would find the best way to put it into code.
With last Rowan email, I understood that this purpose is useless. However, if it had been useful, I
had expected answers like:
"hey, Manuel, ``` is dangerous, why don't use other syntax like ... ?
or
"Manuel, why don't use this for heredoc ?
In one word: Synergy.
Why should this be done?. Because someone can read my purpose and can modify to something better,
maybe a great change to the language.
I think so.
Regards,
Manuel Canga