True, php is not perfect

Everybody knows that php is not perfect. Other scripting engines (python, ruby, nodejs, perl …), however, bring their own brand of trouble.

Then, there is java, c#, go, and even c++ which are all based on grand ideas that are simply incorrect. The more they were going to save the world, the more they got it wrong. Php was not going to save the world (“my personal homepage”), and that is why it is still usable. Seriously, php only wins by default.

In php, people suspect that everything around them is wrong, and that is why things are actually not that wrong. If you visit another language community, you will usually find a congregation of heathens staunchly proclaiming their total faith in the one or the other false, pagan belief.

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. If you tell them that their lightweight and efficient model is a callback hell, they will angrily reproach to you: You are insulting our religion!

Nowadays, I first do a shell script in bash, of which some parts get moved over to php because these parts use data structures that bash cannot handle (“lists of lists of lists”). Of this php code, I may move over small parts to C — preferably written by someone else — in order to make some of the innermost loops run faster. Php is not and has never been a problem. Php will indeed not save the world, but it works fine.

Advertisements

Published by

eriksank

I mostly work on an alternative bitcoin marketplace -and exchange applications. I am sometimes available for new commercial projects but rather unlikely right now.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s