News for hackers. Stuff that matters.
Re:PHP in 2019 by mywittyname on Wednesday May 15, 2019 @09:18AM (#19919071)
I have to echo this.

I worked on a data pipeline that was a mountain of PHP scripts bolted together with Bash and it was such a breeze to maintain. Using Symfony ensures that every command is well documented and consistent in design and use.

Something I never appreciated about PHP until recently is that character encoding is so much more robust in PHP than other languages. We were forced to replace our pipeline with Python because of a combination of "Eww, PHP" from new management and "data scientists use Python." Character encoding was a huge, unexpected annoyance.

Re:PHP in 2019 by kibwen on Wednesday May 15, 2019 @09:57AM (#19919395)
Which version of Python? I ask because making fundamental changes to character encoding was the single most disruptive feature of the Python 2/Python 3 split.
Re:PHP in 2019 by wwweston on Wednesday May 15, 2019 @02:45PM (#19922448)
> character encoding is so much more robust in PHP than other languages.

This is not what I expected -- my limited past experiences with anything outside of Latin-1 using PHP have been perplexing and not smooth (and I generally like PHP well enough). Can you elaborate on what features or approach can make things robust?

Re:PHP in 2019 by megous on Wednesday May 15, 2019 @05:38PM (#19924039)
PHP doesn't care about your encoding. Therefore it's simpler to work with any encoding in it, because you're managing it manually.