Over the past two decades, I have worked with more than a dozen programming languages , from C to Common Lisp, from Java to Python, from C++ to TypeScript, but I have a soft spot for languages that are of poor quality.
Python is nice, but PHP is really easier to use
PHP was born in the mid-1990s, even older than many programmers. I’ve been with PHP since the early 2000s, when it was just transitioning from version 4 to version 5. Later, I started writing applications in the CodeIgniter ZendFramework framework I wrote myself.
In my opinion, the main reason why PHP has remained young and has not aged over the years is that it is embedded in old and new applications all over the world, and in the minds of developers of all ages. Some people have used it for a few years, some have used it for decades, and PHP has left a deep impression on them . Developers aren’t going away, and commercial code isn’t going away, so PHP is still alive and well. And interestingly, Python was actually born in 1991, even earlier than PHP. And despite having a longer lifespan, Python has never been able to reach the current heights of PHP.
Why is this happening?
From a personal point of view, I think Python is more cumbersome to use than PHP. This problem has improved in Python 3, but going back 15 years ago, Python didn’t have those “fancy features” (functions) that came with PHP out of the box. Many features have to be installed manually or they won’t work.
And another long-standing problem with the Python language is the interval syntax. This syntax, which is determined by the number of spaces between the codes, delimits the relationship, which many people hate. Many programmers like to separate code the way they like, and can’t stand the programming language’s own brainstorming here, and PHP does a good job of this.
People who really do things are using
Years of development allow them to grow with their own ecology
Their quality is often compensated by other factors
These “poor quality” programming languages weren’t known for their elegance in the first place. They are more likely to outperform their competitors in terms of speed, deployment difficulty, scalability, tooling, development community, framework, or platform.
I prefer PHP because of its CGI-bin mode, which allows refactoring legacy codebases in chunks, and provides easy-to-use caching and extension methods, and developers don’t need to worry about resource leaks at all.
These languages fail even on basic problems, which means that programming with them always feels like an experiment. Being able to write elegant code in an inelegant language always brings the satisfaction of being successful.
All programmers are equal in front of these languages
These languages do not have strict background requirements for programmers , and even a novice who knows nothing can make a real website run in a few days. I grew up all the way from copying and pasting basic code segments to writing my own website with PHP2 and PHP3, and now I can also use my accumulated experience to repay the community and help those who are just getting started. This makes me very proud.
It is not advisable to dismiss programming code written by a twelve-year-old or a young man who has just graduated from a code boot camp. It is precisely because these users have a variety of educational backgrounds that the imperfect programming language has a friendlier and more active community environment.
Nothing can stop you from writing good code
I love legacy codebases
The legacy codebase means guaranteed product performance and I can make more immediate and effective optimization improvements on it. For me, there is nothing better than optimizing a product with other users.
The text and pictures in this article are from InfoQ
This site is for inclusion only, and the copyright belongs to the original author.