Mateusz Ditrich
1 min readNov 29, 2017

--

Well, to be honest, this line:
“ For the first time ever, developers can declare arrays and iterables that consist of complex types. For example, an array that consists of strings and integers can be written with: (string | int)[]"

is not something to brag about. It doesn’t promote good approach and actually stands in contrast to good architecture.

I really like PHP, I honestly do, but the more languages I’ve been learning, the more those PHP-specific things are distracting me from it.

--

--