Am 17.09.2021 um 04:09 schrieb tyson andre <tysonandre...@hotmail.com>: > I've created a new RFC https://wiki.php.net/rfc/vector proposing to add > `final class Vector` to PHP.
First of all: I don't have a strong opinion on a Vector class being useful or necessary. But I have two comments about this RFC: 1) Using the very generic name Vector without any prefix/namespace seems dangerous and asking for BC breaks. 2) I don't like that this class is final. The reasons given in https://wiki.php.net/rfc/vector#final_class <https://wiki.php.net/rfc/vector#final_class> seem unconvincing to me and restrict the usage of Vector in a way which makes me question the usefulness to a big enough part of the PHP community. These two reasons combined would make me reject the RFC at the current stage. - Chris