Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115244 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 47790 invoked from network); 30 Jun 2021 14:00:57 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Jun 2021 14:00:57 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D7349180502 for ; Wed, 30 Jun 2021 07:21:12 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 30 Jun 2021 07:21:12 -0700 (PDT) Received: by mail-vs1-f41.google.com with SMTP id o7so1774434vss.5 for ; Wed, 30 Jun 2021 07:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0KJVhda0aQQAPuGMPHzllYPe1+RD9UxWFIB5euExOPs=; b=pwECI6UR39S3E5m7Wuo5TvwRKnF4MsBSRljgtNk2Av843trP+/MHAzFe8t38+qdy8o q9g1zdr6ldG990dquOu9MPZhQYALbRDKiTZv/dNarauXeKFsN4m75ZMWVU4t64EqxBGj PXVAqYNhFhKIfhXouxIMyXI8yoev6+HTPIouKnQNc50lBxE402xFmhE/nzUMpM1PduY1 skGZy0La7+M6Z3BPZzEPVoCVyzdumRPrtJXB75QCNMJhBeoVd2jkeO82yU5NfBw9PO8F bsliJeulePMXT8xTtmNi3oe3i8W17bzmmhdFdEAtn1bZaK9OaieUqSQE0IcgrqvcPEt2 ZagQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0KJVhda0aQQAPuGMPHzllYPe1+RD9UxWFIB5euExOPs=; b=RlbJX2rHUoHQYCC06N/EQUS/Okaox24lLbtSq/SuSA469d9aAX7PRh0Dll6cZZYGti 0T7KQe9PxhsNQ+H26qczcMwhKfvTU1P/ogDgK9HOEDcup5kvOYQghsbRpldl5qn01vIA QDeqvSCElX3I8cPj7tTLs61Vd3O9P8nr+WKEd432ocK0RjskY6tWv/t2VKZTUSearsyY cFfa3PKu2Hky/yRVLn82HXPKPwdRin0cD0+vlMrMPRZUNV3rEXHIbgKxR8uWcV0mfxU+ Ckm9n14yc0z3IDQ3XnK4ledmmz2MnQbBW+bkBh447qOBI1tJt9VhXIKCiouyHSQYpQ29 87nw== X-Gm-Message-State: AOAM532ERCLzBN4iw4AIY/UXWSvdsS5Uz0obASM+B/MOcWNZOqrjxkLn iDe1p1NwlRqbQhDNHOozY5nLYAfRpvQPMj6jPQQ= X-Google-Smtp-Source: ABdhPJyGWZTB452nvYVNKzfIs5ii7ysnWpYztGpqDRtUxYzohfc4SUWIzQDU3V/NsCRA80ww8ylg4kjVfZ3edzSVXzM= X-Received: by 2002:a67:d010:: with SMTP id r16mr24182237vsi.43.1625062870792; Wed, 30 Jun 2021 07:21:10 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:6342:0:0:0:0:0 with HTTP; Wed, 30 Jun 2021 07:21:10 -0700 (PDT) In-Reply-To: <17a5d13c061.1239e763788226.6762452577612536613@manuelcanga.dev> References: <17a588d53cc.f512f451993137.1114693900572862097@manuelcanga.dev> <17a5d13c061.1239e763788226.6762452577612536613@manuelcanga.dev> Date: Wed, 30 Jun 2021 19:21:10 +0500 Message-ID: To: Manuel Canga Cc: "G. P. B." , Internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Alternative syntax for Nowdoc. From: office.hamzaahmad@gmail.com (Hamza Ahmad) Being positive is good but relying on others is not. If you really believe that your idea is worth considering, I suggest revisiting it. You can ask your self the following questions: - How is it useful? - what special thing does it provide with that the current implementation does not? - What could be the better syntax? - Does any other language have the similar feature? - If yes, what is the benefit? - Will your idea cause any BC break? - Do your proposed syntax make any confusion? - How can you make it further clear? If you have answers to all of these questions, you can come and convince the people here. Still, I don't find your proposal till now that compelling. Rather considering the opinions shared here as an offence, take them positively and redesign your thought. Best Hamza On 6/30/21, Manuel Canga wrote: > > ---- En mi=C3=A9, 30 jun 2021 14:29:40 +0200 G. P. B. > escribi=C3=B3 ---- > > 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 th= at > 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 affect= s > the language as a whole. I say this because I didn't do this when I start= ed > 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 cod= e. > > 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 mod= ify > to something better, maybe a great change to the language. > > I think so. > > Regards, > Manuel Canga > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > >