in reply to How to make code smaller--saving steps and writing one liners

"If statements are obsolete if you know how to use the space-ship operator!"

That is just NONSENSE!

1) The space-ship operator, <=>, is a numeric comparison.
2) eq is an alpha-numeric comparison.
There are very good reasons for using <=> or eq in conjunction with an if statement! DUH!!

  • Comment on Re: How to make code smaller--saving steps and writing one liners