News for hackers. Stuff that matters.
Re:PHP the Wrong Way by nkozyra on Wednesday August 05, 2020 @06:48AM (#24059278)
> you are either using framework or inventing one.

I disagree, unless you consider using a language to be inherently creating a framework.

Frameworks are generalizations, intended for flexibility. Their abstractions exist, typically, to shield a developer from the lower level stuff.

If you're writing plain ol language of choice code to do a specific thing, it's none of that. People can look at your code and see, oh, he's using built in cookie management and headers and standard language database calls.

It's readable, non abstracted code.

Re:PHP the Wrong Way by justanotherc on Wednesday August 05, 2020 @07:46AM (#24059741)
Maybe, but non-abstracted code is not DRY, becomes difficult to maintain, and is time consuming to write.

So a good programmer will start to abstract those things, and at that point you're going down the road of creating your own framework.

Re:PHP the Wrong Way by nkozyra on Sunday August 09, 2020 @01:17PM (#24101096)
Employing DRY does not mean a framework. Reusable functions do not implicitly suggest a framework.

I think you're defining it way too broadly.