HN user

waibelp

64 karma
Posts3
Comments66
View on HN

Symfony 4 is much more lightweight than previous versions. If you create a new symfony 4 project with composer you just get an empty project with just a hand full of dependencies. First time I tried out the v4 (coming from 2.x & 3.x) I thought that the installation did not work properly because stuff like twig (for templating) and other things were missing.

The whole integration in composer with the symfony flex component makes developing even easier than before: https://symfony.com/doc/current/setup/flex.html

I know some php devs from munich in germany which started at 64k per year. Others earn 70k+ per year. In agencies (wordpress i.e.) jobs start at 48k.

Nice article.

Worst thing I've ever seen was a class which inherited another just to keep the lines of code short (<2500). That said it wasn't just one time inheritance... It was up to four times. There was no logical split of the inheritance. It looked like someone simply split one huge file into some smaller ones.

We called that kind of inheritance "code sharding" and we had a lot of headache at that time.

I'm a little bit disappointed as the story just looks for new ways to get rid of the plastic problem. Why not produce and use less plastic? In the EU some countries ban plastic bags, others introduced or increased prices for bags. On the other hand more paper bags are available and prices for them dropped, too, resulting in more people using paper bags or starting to use cotton-bags.

Fullstack web developer (php + devops), 7 years working (coding for 20 years), ~ 74k$, Germany, no bonus

+ doing some freelancing part time @ 100€/h

This! As we use JIRA for ticketing we thought Confluence would be the best way. But like you said the problem is not that the information is not there. The problem is that the information is not findable and the search is in my opinion really poor.

To solve that problem we started with a "doc" directory in each repository holding multiple markdown files for each topic. That way all of our developers are able to find the information they need (even without an internet connection).

For all new projects I always use internationalization. Instead of writing something like

<button>Sign Up</button>

I simply write

<button>{{ 'Sign Up'|trans }}</button>

That way I don't need translation files (EN is default). If translation is not found the "key" is returned which is fine. Once the app is ready I call a command to create my language files and simply translate them.

Why are most people using huge hero-graphics (495kb?!) for short blog postings nowadays?

On topic: Testing gets worse if the codebase which needs to be tested is garbage. My experience with other developers who learn testing don't need to learn how testing works - they need to learn basic development rules: Components, loose coupling, dependency injection, ...

Would be useful but not allowed (not legally safe) in Germany. You may record for private purposes but if you have an accident and you try to use the records you offend against data protection resulting in fees up to 300k €.

Not for cooking but for streaming tv while washing dishes. ;-)

The problem in my opinion with recipes is that there are too much and most of them are not good. A lot of times I started to cook anything by recipe just to throw it away after some minutes and "freestyling" the meal...