4 ms·
Can't wait for: - Pattern matching in switch statements (done horribly wrong) - If, while, and switch expressions - Inferred type system - Consistent a
by peterhil 5y 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/ https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
- TheCapeGreek 5y agoBig 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.
- xigoi 5y agoDoes 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 ?
- Zababa 5y agoSum types, too, since the enums are C enums.
- fraktl 5y agoYou could have googled and hated better. Why bother trolling if you won't even give it 40 seconds of using search engines?