Hacker News new | ask | show | jobs
by peterhil 1619 days ago
Can't wait for:

  - Pattern matching in switch statements (done horribly wrong)
  - If, while, and switch expressions
  - Inferred type system
  - Consistent array method argument order
  - Actually usable higher order functions and reflection

Big reminder: Php is a fractal of bad design, and I intensely hated using it at work for many years. The only good thing in Php is Symfony2 framework.

https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

3 comments

Big reminder: Read beyond decade old articles. This is precisely the tired parroted line people in this post are talking about when they say they don't understand the modern hate.
Does modern PHP have any of:

  - Pattern matching in switch statements

  - If, while, and switch expressions

  - Inferred type system

  - Consistent array method argument order

  - Actually usable higher order functions and reflection

?
Sum types, too, since the enums are C enums.
You could have googled and hated better. Why bother trolling if you won't even give it 40 seconds of using search engines?