PHP Classes

Gollum is not a Troll

Recommend this page to a friend!

      PHP Classes blog  >  6 Reasons Why PHP is ...  >  All threads  >  Gollum is not a Troll  >  (Un) Subscribe thread alerts  
Subject:Gollum is not a Troll
Summary:musings about the One Ring
Messages:2
Author:Ralf Strehle
Date:2013-02-18 22:16:26
Update:2013-02-19 00:21:42
 

  1. Gollum is not a Troll   Reply   Report abuse  
Picture of Ralf Strehle Ralf Strehle - 2013-02-18 22:43:09
Thanks for this entertaining post. Using PHP for web projects for several years now, I can only say that it never disappointed me, and I agree that there is no reason to talk bad about PHP.

If you don't like PHP, then you can always select a different web based programming language and get brilliant results.

I had a tough time when starting with PHP by understanding that 0 == '' evaluates to TRUE and that the order of parameters can be kind of unpredictable but once I understood the basic concepts and got some good editors with code completion I found it a very versatile language.

I was puzzled that in this original Quora post, the One Ring was associated to C. If somebody wanted to rule the world then it was Microsoft, so I think that C# or .NET fits better.

So, humble PHP programmer, if you do not want to share the fate of Smeagol (who was a Hobbit and never a Troll) and do not want to turn into Gollum then stay away from .NET

  2. Re: Gollum is not a Troll   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-02-19 00:21:42 - In reply to message 1 from Ralf Strehle
You are right. I meant Gollum is a troll in the sense that he bugs people that he envies due to the fact that they have a deep desire to have.

PHP has attention. Some developers that prefer other languages keep trolling PHP because they like to also have the attention PHP has.

I am not sure if any Microsoft product is loved these days by anybody besides those that only work with Microsoft products. Maybe Java would be a better candidate than C# because it is meant to be platform agnostic.

Anyway, I think C makes more sense to be The One True Ring because in C you have have access practically to anything machines can do. In Java or C# you cannot access hardware memory directly. You always need to some C or C++ bridge code. For instance, CUDA is mostly based in C++.