4 ms·
I would argue that Kotlin is the better modern PHP. Beside of a lot of magic Laravel makes PHP okayish, but it is still the worse mainstream programming languag
by thibran 7y ago
I would argue that Kotlin is the better modern PHP. Beside of a lot of magic Laravel makes PHP okayish, but it is still the worse mainstream programming language.
- jbrooksuk 7y ago> but it is still the worse mainstream programming language. Please back this up.
- thibran 7y agoThis is my opinion. Some hints why I think PHP is not great: * property type declaration in doc-strings * bad documentation * verry verbose for a dynamic language * a lot of inconsistencies * automatically loading of classes is a hack (psr4) which doesn't support importing functions without specifying it in a global project file
- highesttide 7y agoAs a note, typed properties are coming with 7.4.
- thibran 7y agoAnd I welcome it. Also the shorter anonymous function syntax will improve the current situation by a good deal.
- pdimitar 7y agohttps://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/ Well, this is still true.
- Lazare 7y agoI mean, apart from the huge number of items that have been fixed over the years, yeah.