4 ms·
> So much criticism... As usual the php community is resisting any change. This grinds my gears on a few levels - I really don't feel as though the reaction he
by danielhunt 15y ago
> So much criticism... As usual the php community is resisting any change.
This grinds my gears on a few levels - I really don't feel as though the reaction here is a resistance to change, as much as it is a resistance to completely redefining pretty much all of the core language constructs.
The Snow code is, in my eyes, almost completely unreadable, due to a seemingly random collection of characters.
I'm a PHP developer, and while I appreciate that (at times) PHP can be quite verbose, introducing such sweeping changes really doesn't make any sense to me.
The add_row() function in particular is mind-bending for me. Auto-declaration (and initialisation, within a loop, no less) can only hurt in larger systems - which is why developing with notices enabled is such a plus.
- coenhyde 15y agoI didn't say Snow was perfect. Far from it. Didn't you see my long list of feedback? I get annoyed with the php community because this thread embodies what a typical response from them is like. Criticize anyone trying to do something new by saying the old ways are best without giving any constructive feedback. Also note. No one has to use Snow if they don't want to. These are not changes to the core of php, so it confuses me why people get so militant over the suggestion of a DSL for php.
- danielhunt 15y agoI did indeed see your feedback, but it was the opening comment that framed the feedback, that bothered me most. As for your feedback itself - your own suggestions don't appear to improve readability in any meaningful way, mainly because the underlying example is simply so unreadable already. I'm perfectly happy to debate potential layers above PHP to help with speedy development, but I'm also perfectly happy to argue against those that I don't believe have any promise.
- wvenable 15y agoSo any criticism of this is the "PHP community resisting change" -- that's rather convenient. I suspect many of the people criticizing both this language and the approach here aren't even PHP programmers.