Wait what?
The spaceship operator isn't a name for a language that wants to get enterprise credibility.
Take a pause, and look at it for a distance
The operator probably solves a problem many php developers face.
Instead of only having a boolean check, it is a ternary check without the logic you need to write yourself.
One thing php as a language was always good at is solving real world problems, sometimes with flawed implementations, but they make it easier for others to understand the code.
epilogue
Don't be square and make your code php 7 compatible as soon as possible.
No comments:
Post a Comment