Every programming language sucks when you're bad at using it. This is the only and universal truth. Same for JS.
That's a pretty useless truth, who doesn't know that? Many languages (like Go or Clojure) require you to learn quite a few concepts and exercise your mind in general. This automatically filters out incompetent programmers, and puts the rest in the right mindset.
PHP Sucks
31–40 of 297 posts
Re: PHP Sucks
#32The author's biggest mistake wasn't betting on PHP, it was betting on a single language. He should have learned more languages a long time ago, just to expand his set of tools, and maybe way of thinking. Besides, learning a new language is fun and not that hard... They are all pretty much the same...
I agree that learning new languages is very useful. But as analogies go, going from PHP to another imperative language is more like switching dialects than learning a foreign language.
Re: PHP Sucks
#33The thing that hurts PHP the most is lack of structure and patterns used in the most popular projects. These popular projects are usually where the bulk of work lies, where developers point to when they're considering PHP. When juniors start they're typically working on WordPress or Drupal. The problem is that WordPress and Drupal are terrible guides of how to write a web app and that knowledge is completely useless…
Re: PHP Sucks
#34Earlier quoted context omitted.
I wouldn't say it is. In asp.net, language is better engineered and will get in your way less often: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
ASP ? dude really ? PHP get in your way only when your starting. You never make these "bad language mistakes" once you're experimented. And then you can write really clean code. ASP, however, makes me vomit everytime I read a single line. COBOL is more readable !
Re: PHP Sucks
#35Earlier quoted context omitted.
I wouldn't say it is. In asp.net, language is better engineered and will get in your way less often: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
ASP ? dude really ? PHP get in your way only when your starting. You never make these "bad language mistakes" once you're experimented. And then you can write really clean code. ASP, however, makes me vomit everytime I read a single line. COBOL is more readable !
There's nothing unreadable about .Net.
Re: PHP Sucks
#36PHP is a toy language that's now being used in some reasonably grownup ways. I've built a static analysis tool for it, and it sort of feels like writing a CAD tool for lego bricks.
Re: PHP Sucks
#37Re: PHP Sucks
#38I left PHP for C# and JS. I've been burnt so many times from the tacky standard library it's not even funny. Coding php in a large application is both boring and hard. XDebug barely works and is hard to set up. Still, PHP is so goddamn cheap it's not even funny. But I recognize everything the author is describing.
Re: PHP Sucks
#39A bad workman always blames his tools...
Re: PHP Sucks
#40"There are only two kinds of languages: the ones people complain about and the ones nobody uses" -- Bjarne Stroustrup