March 4th, 2020 at 1:46 AM
PHP has gotten far, far better over the years. It's actually, yea, I agree. You hit it on the head. It's been optimized forever and is pretty fast nowadays. (PHP 7.4 put a JIT compiler into the language. Even python doesn't have that.)
It's not really a horribly designed language once you get used to it, so much as it's just... different. I would far rather program in Python any day. PHP is easy and still powerful, but it is more or less just inconsisistent. (isset checks if a value is 0, but if you actually set it to 0, it's technically still set, but isset() returns false. Callbacks work differently between a class and a function, etc.)
I'd rather see inconsistent behavior than have breaking changes. People are still using Python 2 today because of those changes, and it's been a decade. Incidentally, PHP 8 will have some breaking changes, but properly coded websites shouldn't have an issue. It would be nice if they fixed some of these inconsistencies, but it's not really possible to do without breaking most of the websites on the internet today.
@Zalost: That's a good way to put it. Heck, you and I both are developers. We both still find it easier to use software that "just works"
I've long been thinking about doing a CMS for MyBB. I stop myself every time I see CMS' that are already built. It's a lot of work getting one made from the ground up, but once they exist, they make life a hell of a lot easier.
It's not really a horribly designed language once you get used to it, so much as it's just... different. I would far rather program in Python any day. PHP is easy and still powerful, but it is more or less just inconsisistent. (isset checks if a value is 0, but if you actually set it to 0, it's technically still set, but isset() returns false. Callbacks work differently between a class and a function, etc.)
I'd rather see inconsistent behavior than have breaking changes. People are still using Python 2 today because of those changes, and it's been a decade. Incidentally, PHP 8 will have some breaking changes, but properly coded websites shouldn't have an issue. It would be nice if they fixed some of these inconsistencies, but it's not really possible to do without breaking most of the websites on the internet today.
@Zalost: That's a good way to put it. Heck, you and I both are developers. We both still find it easier to use software that "just works"
I've long been thinking about doing a CMS for MyBB. I stop myself every time I see CMS' that are already built. It's a lot of work getting one made from the ground up, but once they exist, they make life a hell of a lot easier.