News for hackers. Stuff that matters.
Re:PHP Sadness by lbj on Thursday November 29, 2018 @06:35AM (#18559492)
Honestly, if you use PHP you should expect sadness
Re:PHP Sadness by stabbles on Thursday November 29, 2018 @06:47AM (#18559539)
PHP has also its upsides:

- High-quality packages (e.g. FlySystem or anything by https://thephpleague.com/)

- Very nice and mature frameworks such as Laravel.

- Pretty good OOP features

- No concurrency / async, which makes thinking about the code way easier than sometimes in Node.js

Re:PHP Sadness by rsaarsoo on Thursday November 29, 2018 @07:07AM (#18559603)
- There are high quality packages in every language.

- Likewise with mature frameworks.

- All mainstream languages have pretty good OOP features nowadays.

Thankfully yes, there is no concurrency.

Re:PHP Sadness by buboard on Thursday November 29, 2018 @07:42AM (#18559765)
what has the world come to be, where a series of commands actually running like a series of commands is hailed as an upside.
Re:PHP Sadness by ArchTypical on Thursday November 29, 2018 @12:55PM (#18562141)
Same world since Multics.
Re:PHP Sadness by lbj on Thursday November 29, 2018 @11:59AM (#18561668)
No concurrency is a missing feature, not an upside. OOP is a broken paradigme, so no upside to be found there either.
Re:PHP Sadness by ArchTypical on Thursday November 29, 2018 @01:03PM (#18562241)
> No concurrency is a missing feature,

That's an opinion that isn't very popular or useful.

Ignoring the multithreaded PHP runtime and fork functionality, implementing every feature (whatever user X particularly wants) in every language will never happen.

Saying OOP is a broken paradigm is irrelevant. Some people prefer it and they are users just like you, but different too.

Re:PHP Sadness by drivingmenuts on Thursday November 29, 2018 @01:02PM (#18562226)
Meh, I get paid for working with PHP. While that's not the only thing that matters, it's a pretty big thing. If that list sums up the worst of the language, I can deal with it.

Except the ternary operator thing. That gets right up my left nostril. I LOVE the ternary operator.

A day without using a ternary operator is like a day without sunshine.

Re:PHP Sadness by melicerte on Thursday November 29, 2018 @06:54AM (#18559567)
Let us your language of use... My guess is that there is sadness there too
Re:PHP Sadness by welly on Thursday November 29, 2018 @07:07AM (#18559607)
Ahh, nothing like a bit of language shaming.