<story><title>Software in 2014</title><url>https://www.tbray.org/ongoing/When/201x/2014/01/01/Software-in-2014</url></story><parent_chain><item><author>xd</author><text>He works on Go at Google.  A skilled professional no doubt, could he not have made some valid points rather than simply calling PHP disgusting.  It didn&amp;#x27;t add anything to the conversation.&lt;p&gt;If you where in the pub and someone spent some time listing the virtues of the pint they where drinking, and then someone joined in the conversation and called it disgusting with no basis .. wouldn&amp;#x27;t you find that to be odd behavior?</text></item><item><author>dmak</author><text>That comment didn&amp;#x27;t even come across as elitist. There was no need to get personal.</text></item><item><author>xd</author><text>For someone that works on Go at Google I&amp;#x27;m shocked by your very much subjective view of PHP.  Elitist much?</text></item><item><author>enneff</author><text>So what? Part of the reason PHP is such a disgusting mess is because it is a raft of haphazardly accumulated features.</text></item><item><author>xd</author><text>&amp;quot;It’s a pity some people still build important apps in PHP...&amp;quot;&lt;p&gt;Getting real tired of seeing these baseless statements from so called software professionals.&lt;p&gt;Here is an off-the-top-of-my-head list of features of modern day PHP:&lt;p&gt;* yield&lt;p&gt;* event&lt;p&gt;* pthreads - yeap, real threads.&lt;p&gt;* closures (including support for $this)&lt;p&gt;* consistent hashing api&lt;p&gt;* &amp;quot;finally&amp;quot; added to try-catch&lt;p&gt;* empty() now supports expressions, rather than only
variables.&lt;p&gt;* array and string literal dereferencing&lt;p&gt;* foreach support for list() - foreach($array as list($var, $var))&lt;p&gt;* array_column&lt;p&gt;* traits&lt;p&gt;* short array syntax&lt;p&gt;* namespaces&lt;p&gt;* json manipulation is second to none.&lt;p&gt;* runkit - all kinds of danger here</text></item></parent_chain><comment><author>zxcdw</author><text>He &lt;i&gt;did&lt;/i&gt; explain &lt;i&gt;why&lt;/i&gt; PHP is disgusting mess.&lt;p&gt;And hell, the fact that people have that opinion stems from somewhere. And that is a fact we should all take a note of -- to build better tools. You see, PHP is &lt;i&gt;nothing&lt;/i&gt; but a tool, and as a tool, it&amp;#x27;s not very liked one due to it&amp;#x27;s flaws. Solution? Abandon it! Build new, better tools instead of feeling threathened.&lt;p&gt;Le PHP sink and die it&amp;#x27;s well deserved death and make way for better &lt;i&gt;tools&lt;/i&gt;, because professionals shouldn&amp;#x27;t feel attached to their tools, instead they should be critical towards them and look to find better ones.</text></comment>
<story><title>Software in 2014</title><url>https://www.tbray.org/ongoing/When/201x/2014/01/01/Software-in-2014</url></story><parent_chain><item><author>xd</author><text>He works on Go at Google.  A skilled professional no doubt, could he not have made some valid points rather than simply calling PHP disgusting.  It didn&amp;#x27;t add anything to the conversation.&lt;p&gt;If you where in the pub and someone spent some time listing the virtues of the pint they where drinking, and then someone joined in the conversation and called it disgusting with no basis .. wouldn&amp;#x27;t you find that to be odd behavior?</text></item><item><author>dmak</author><text>That comment didn&amp;#x27;t even come across as elitist. There was no need to get personal.</text></item><item><author>xd</author><text>For someone that works on Go at Google I&amp;#x27;m shocked by your very much subjective view of PHP.  Elitist much?</text></item><item><author>enneff</author><text>So what? Part of the reason PHP is such a disgusting mess is because it is a raft of haphazardly accumulated features.</text></item><item><author>xd</author><text>&amp;quot;It’s a pity some people still build important apps in PHP...&amp;quot;&lt;p&gt;Getting real tired of seeing these baseless statements from so called software professionals.&lt;p&gt;Here is an off-the-top-of-my-head list of features of modern day PHP:&lt;p&gt;* yield&lt;p&gt;* event&lt;p&gt;* pthreads - yeap, real threads.&lt;p&gt;* closures (including support for $this)&lt;p&gt;* consistent hashing api&lt;p&gt;* &amp;quot;finally&amp;quot; added to try-catch&lt;p&gt;* empty() now supports expressions, rather than only
variables.&lt;p&gt;* array and string literal dereferencing&lt;p&gt;* foreach support for list() - foreach($array as list($var, $var))&lt;p&gt;* array_column&lt;p&gt;* traits&lt;p&gt;* short array syntax&lt;p&gt;* namespaces&lt;p&gt;* json manipulation is second to none.&lt;p&gt;* runkit - all kinds of danger here</text></item></parent_chain><comment><author>grey-area</author><text>He probably didn&amp;#x27;t elaborate because he felt the basis for the view was clear - there are clearly areas of PHP which still need work. PHP is often frowned upon because the APIs are a mess of legacy cruft like addslashes, magic_quotes, mysql_escape_string, mysql_real_escape_string, mysqli_real_escape_string versus prepared statements. Efforts are being made to clean it up, but for a language to ever end up in a place with that sort of library functions is a pretty big red flag.</text></comment>