ozahorulia's avatar

Oleksandr Zahorulia

ozahorulia

Member since

55

Total Reputation

3

Total Arguments

3

Total Votes for Arguments

Arguments and votes

1

It's not crucial, but it's gonna make code more readable and clear in a way. But It would be even greater if we had literals for passing functions instead of strings, (e.g. |> htmlentities(...) instead of |> 'htmlentities').

Share:
Read the RFC: The Pipe Operator ozahorulia avatar
ozahorulia
voted yes
1

A big NO for this one. Interfaces are interfaces, they declare the signature and introducing a contract for the implementing classes. If you need "default" implementation, you must do that in an abstract class. Let's not confuse different things into one.

Share:
Read the RFC: Interface Default Methods ozahorulia avatar
ozahorulia
voted no
2

So many times I had to drop array_map/reduce or similar functions just because I didn't want to use "classic" closure syntax. Honestly, I don't even see a big need in having the "classic" syntax nowadays, but having a multiline new-style closure looks very logical to me.

Share:
Read the RFC: Short Closures 2.0 ozahorulia avatar
ozahorulia
voted yes
RSS Feed Contribute Watch on YouTube Our License
© 2024 RFC Vote. This project is open source. Contribute and collaborate with us!