6 ms·
Nitpicking on trivialities is pointless. Rather, point out the fact that Symfony is a framework that relies entirely on all sorts of magic behavior, and at the
by otabdeveloper4 3y ago
Nitpicking on trivialities is pointless.
Rather, point out the fact that Symfony is a framework that relies entirely on all sorts of magic behavior, and at the same time it is entirely undocumented.
One of the most horrible programming experiences I've ever experienced.
PHP is a nice language, but the community is insane.
- kingofthehill98 3y agoJust out of curiosity, when was the last time you worked with Symfony? The framework has changed massively after the earliest versions (1~3). These days it's very similar to Java's SpringBoot. After scaffolding all you get is a thin layer with the HTTP abstraction, configuration support, reflection-based Dependency Injection and a testing framework (PHPUnit). Since the framework is component-based you pull dependencies as you need them. I find the documentation really good and honestly I don't see much magic in it, it's an event-based web framework. Laravel and it's facades on the other hand is very magical.
- withinboredom 3y agoSymfony is not great, but most people utterly misuse it so you end up with spaghetti and ground mud. That being said, Symfony is the most popular framework I know of that liberally uses goto statements.
- alecsm 3y agoI haven't worked very much with Symfony but I've never seen a goto. In fact, the last time I've seen a goto statement was maybe 15 years ago in a mIRC script. Where are those goto statements? I'm asking out of curiosity to check them.
- withinboredom 3y agoThe nice thing with GitHub, is that it’s literally a search away: https://github.com/search?q=repo%3Asymfony%2Fsymfony+goto&type=code https://github.com/search?q=repo%3Asymfony%2Fsymfony+goto&ty... I highly recommend learning how to use it.
- lmm 3y ago> These days it's very similar to Java's SpringBoot. That's not a positive. Spring Boot is impossible to use for anything except an unmaintainable abomination, since the whole thing runs on undocumented magic.
- conradfr 3y agoIt is actually documented, surely you must be confused? You have the docs with extensive examples, you have a free book, and the whole framework is typed and all configuration options and the individual components referenced: https://symfony.com/doc/current/index.html https://symfony.com/doc/current/index.html And if you use PhpStorm with the Symfony plugin almost everything gets intellisense.
- otabdeveloper4 3y agoI don't use PhpStorm. Also, random code snippets that may or may not work is not documentation, much less is it a reference.
- conradfr 3y agoI don't get it, what more from the docs do you need?
- gamblor956 3y agoI think his complaint is that a lot of the Symfony docs don't simply say what things are/do, they instead inform via examples. Which means you have to parse the examples first to understand what's going on.
- otabdeveloper4 3y agoYes, "documentation" implies a curated and complete reference, not a collection of code snippets that may or may not apply to your current problem and version of Symfony. (No, random posts oт Stackoverflow and generative AI responses aren't a replacement for documentation either.)
- conradfr 3y agoBut ... there is all that, right there on the documentation page, just ... scroll? https://symfony.com/doc/current/index.html https://symfony.com/doc/current/index.html