Live data from Hacker News

PHP Sucks

evertpot.com

31–40 of 297 posts

Re: PHP Sucks

#31
post #20

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.

"who doesn't know that?" OP ?

Re: PHP Sucks

#32
post #21

The 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...

... until you try to switch paradigms (e.g. to Lisp, Erlang or Haskell).

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

#33

The 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…

I used to like Laravel, but lately it feels so enterprisy. There is a lot of boilerplate in Laravel today and it was changing too fast for me to keep up with it.

Re: PHP Sucks

#34
post #11

Earlier 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 !

asp.net =/= asp "classic".

Re: PHP Sucks

#35
post #11

Earlier 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 !

Are you sure you're not confusing "Classic" ASP with ASP.Net?

There's nothing unreadable about .Net.

Re: PHP Sucks

#36
post #24

PHP 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.

Maybe PhP is to hard for you?

Re: PHP Sucks

#38

I 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.

Running C# (.NET Core) on DigitalOcean $5/month droplet too much for people?
Post reply on HN