Re:Modern PHP without a framework
by davidjnelson on Sunday April 01, 2018 @07:44PM
(#16731207)
Seems more like a dig on inheritance and the resultant code than java as a language.
[ Parent
| on HN ]
Well, two layers of factory classes, one calling the other, plus a big xml blob is pretty Java specific. I'm open to to common counter examples in some other language.
There's inheritance, and there's overindulgence.
Re:Modern PHP without a framework
by davidjnelson on Saturday April 07, 2018 @01:57PM
(#16781826)
Interface based polymorphism is pretty useful. Been thinking more functionally lately, and can’t remember needing it. Parametric polymorphism ( aka generics ) are still useful for the immutable state graph.