Open RFCs

new MyClass()->method() without parentheses

Chain method on newly created objects without parentheses

83% 17%
45
74 yes
15 no
Property Hooks

A new way of interacting with properties

59% 41%
66
130 yes
90 no
The Pipe Operator

The "pipe operator" |> allows you to chain multiple function calls in a more convenient way.

67% 33%
92
268 yes
130 no

Argument of the Day

17

Often, I add static methods to some classes in order to improve readability when I instantiate a new class; the ability of chaining methods directly to the constructor, without the unnecessary parenthesis boilerplate, would remove the need for that.

Share:
Read the RFC: new MyClass()->method() without parentheses reddalo avatar
reddalo
voted yes
RSS Feed Contribute Watch on YouTube Our License
© 2024 RFC Vote. This project is open source. Contribute and collaborate with us!