loading...

re: Elegant code in PHP VIEW POST

FULL DISCUSSION
 

That’s the path (almost) every junior dev goes through - write shitty and insecure spaghetti php mixed with html, then write own kind-of-lib resembling existing well-tested tools for the sake of “being lighter”, then abstract some things away and eventually end up with an unmaintainable pile of junior-level code. Then learn to do it properly with proven tools and finally understand why all those middle/senior devs recommended to learn a framework in the first place.

 

DELETE AT REQUEST OF DEV.TO because apparently, it is offensive. 🤷

Problem solved.

 

It is exactly what I did, with the exception that, modesty apart, I am an awesome developer (but right now, I am more an entrepreneur).

I wasn't talking about you specifically, more in general. However, calling yourself an awesome developer with such a low-quality code (see @mpoiriert 's comment above) sounds like a red flag.

what you call it proven tool

It ain't perfect of course, but does a great job for a great number of projects.

I found that a lot of code hasn't been changed in years

This isn't necessarily a bad thing.

And no, seniors do not use frameworks

Oh, they do and they don't. Frameworks are just tools. What puts senior devs apart is a skill of choosing the right tool for the job.

PHP doesn't have a standard

If you mean a "standard framework" then you're missing the entire point. There are different frameworks - different tools for different jobs. That's absolutely fine.

Sloan, the sloth mascot Comment marked as low quality/non-constructive by the community View code of conduct

I wasn't talking about you specifically, more in general. However, calling yourself an awesome developer with such a low-quality code (see @mpoiriert 's comment above) sounds like a red flag.

I am better than you and that's important.

code of conduct - report abuse