Three weeks ago, I started my second internship as a programmer. Even tho my skills mostly revolve around Spring and GoLang, I was assigned to a PHP team. I and my colleague were tasked with rewriting an app based on Wordpress. At first, I was a skeptic. As you already know, I didn't like PHP much, nor did I like Wordpress. But because I didn't really have much of a choice, I decided to go through with it. Our superior suggested that we use Symfony 4, a framework that he wanted to try out. Because neither I nor my colleague had ever worked with Symfony, we knew we would have to start from the basics. And to be honest, I don't think any of us expected to be as positively surprised as we currently are. The beginnings were hard. Of course, working with frameworks like Spring gave me a solid foundation, as Symfony is very similar in many aspects, but there was still a lot to learn. What we quickly started appreciating was how quick and easy it is to create a lot of basic stuff in Symfony. Entities, controllers, repositories, data fixtures. All of that can be generated using CLI, which can really speed up your work. Additionally, things like authentication and authorization, which can be a challenging task to implement correctly from the ground up, can also be generated and used by executing one CLI command. Three weeks in, our performance increased significantly. We can now progress at a much faster pace, utilizing CLI tools in areas where they make our lives easier. We still have a long way to go before we fully understand Symfony, but at the moment it allows me to work at the same or even faster pace than I did with other technology. With time, I managed to overcome the syntax problem, in part thanks to Symfony's consistent naming conventions. Database wise, Doctrine significantly reduces the time that would normally be required to write all of the required queries. All of that makes the workflow much more enjoyable, and allows for much better productivity.
The main takeaway should be, don't worship programming languages, and don't hate the ones you don't like. All languages have their place, and after 2 years I discovered that with PHP. I will continue using other programming languages like Go, but I will definitely keep an eye on both PHP and Symfony.