On Mon, 15 Nov 2021 at 17:32, Chase Peeler <chasepee...@gmail.com> wrote:
> > > On Mon, Nov 15, 2021 at 4:40 PM Matthew Brown <matthewmatt...@gmail.com> > wrote: > > >> I encourage people to vote "yes" on this, if you want PHP to be better at >> preventing people from shooting themselves in the foot. > > > What if I want a language where people can shoot themselves in the foot > because the flexibility it offers is what makes it great > I don't think this particular feature makes PHP great, and I don't think the active PHP community thinks that either. I know there are >> valid uses for this, but it's nevertheless a surprising feature, and not >> one that delights many PHP developers. > > > Why is this surprising? It's been available since classes were introduced > to PHP. > Not everyone who uses PHP has been using it since time immemorial. Some of us came from compiled languages where this behaviour is expressly prohibited, while others are used to interpreted languages that also prohibit this behaviour. This is what I mean by surprising: I have heard newcomers express literal surprise when discovering this for the first time, and not in a delighted way. Best wishes, Matt