Le Tue, 28 Jul 2020 17:57:34 +0000,
Theodore Brown <theodor...@outlook.com> a écrit :

> Rust chose to use #[] even though it wasn't used by any other language.
> Does that make it a bad fit for Rust? No. But just because Rust uses
> a syntax also doesn't mean it's a good fit for PHP.

For those which like me do not know Rust, I checked and it appears that "#" is
 only used for attributes in Rust, and is not a comment starter.

So that explains why it makes sense for Rust to use this. But it still feels
 like a really bad idea to me to mix comment and code in PHP.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to