Live data from Hacker News

PHP Sucks

evertpot.com

241–250 of 297 posts

Re: PHP Sucks

#241
post #18
post #10

"The 2016 StackOverflow Survey puts PHP developers as the least paid" - which is very unfair. I think PHP developers should actually get paid more as compensation for having to put up with PHP on a day-to-day basis, but that's just me unfortunately...

I've been doing primary PHP for almost ten years and people honestly just throw money at me to solve their problems. I really don't know how I make as much as I do; I hit the point where I made more than my parents combined a few years back and that made for a strange reflection point in my life. Basically for all the decent PHP developers I've known in my life money has never been an issue.

Decent PHP devs are the garbage collectors of IT, the guys that get paid really really well to do something nobody else wants to do.

Re: PHP Sucks

#242
So much uneducated hate going on in the comments section here. As someone who's developed high load projects in a few languages (C++, PHP, Node.js, ColdFusion, Rails) I can say with absolute certainty that any of the modern, popular languages are just as good as the other. What some may see as a slight, others will see as a strength. It's up to the programmer to write structured, thought-out code. Heck, one can argue that too much forced structure can be bad for performance (assuming skilled programmers are at work).

As an aside, my favorite syntax is C#.

But at the end of the day, the author has the right idea and it seems many of you don't. If you're a skilled programmer the language is a preference, not a precursor to what your app will turn out to be. If for any other reason than platform related your code turned out bad it's a good indication you're not one of those skilled programmers.

Re: PHP Sucks

#243

Sadly, most of the complaints to PHP as a language also apply to JavaScript (even worse IMO), but seems like people are more forgiving to the JavaScript/ Node.js community nowadays.

You don't have much choice on the front end. There are better choices available on the back end.

Re: PHP Sucks

#244
post #226

Earlier quoted context omitted.

Programming has to be the only environment where the voices of academia don't seem to matter because "my language gets shit done". Deep inside, what do you think those researchers in the PL community, the people that know the ins and outs, that theorize about languages, the people who spent years and years learning about the theory behind it all, who created the OCamls, the Haskells, the Coqs, the Idrises and so fort…

> PHP is not fast Actually, it is. https://benchmarksgame.alioth.debian.org/u64q/php.html

I don't quite grasp your logic. That comparison only means that PHP is faster than other slow languages. Being faster than slow doesn't mean you're fast.

Re: PHP Sucks

#245

Earlier quoted context omitted.

Give us a break, as a language PHP is a terrible language, and yes I do develop and get paid because of PHP, and I do so for the same exact reason you listed. It pays the bills and does so handsomely too. I have 20 yrs of programming experience in various languages than I care to count, as much as 20! So I do know my languages. From an academic perspective, PHP blows! But from a practical standpoint, it's a tool. It…

Is it any worse than Javascript, if we're honest?

I like to call JavaScript "the PHP of the 2010's"

Re: PHP Sucks

#246
post #10

"The 2016 StackOverflow Survey puts PHP developers as the least paid" - which is very unfair. I think PHP developers should actually get paid more as compensation for having to put up with PHP on a day-to-day basis, but that's just me unfortunately...

But PHP is likely to become the next COBOL. As the talent pool dries up, salaries will rise.

Re: PHP Sucks

#247

Earlier quoted context omitted.

It's not hard to write structured elegant php, that is horseshit. Please look at code for symfony or laravel. Hell, my annoyance with writing good code in PHP is that it ends up looking like Java, which begs the question, why not just do it in java. https://github.com/symfony/symfony/tree/master/src/Symfony or you can look at simpler sample codes I wrote for a class in design patterns with php https://github.com/segm…

Symfony is the worst thing that could've happened to PHP. Dependency injection with varying degrees of XML/YAML madness everywhere. It's terribly slow and pretty much unusable w/o several caching layers in front. I can honestly say that I hate this framework with a passion, and the language too. PHP's core and a big part of the community is copying features and methodologies from Java, but they will never get close t…

This! Symfony is so wrong, i actually can't believe it. First version was kind of rails, replacing all that ruby awesomeness with PHP madness. Newer Versions suddenly want to be like Java only 1000times slower.

Re: PHP Sucks

#248

Its so funny that people are so polarized either for or against PHP. Give me a language that doesn't have pitfalls and stuff that doesn't make sense and I'll show you an Amish NASCAR driver. The one thing I never understood about developers is how your programming languages are a total pissing match. If it gets the job done, who gives a fuck if it has a few quirks here and there? Can you create something cool? Can it…

Having used a few mainly languages in my time, I far prefer working with Python or Perl over Java or Visual Basic. I encourage people to use the better ones, so that hopefully the crap ones do die out (as VB seems to have!)

Re: PHP Sucks

#249
post #85

I started freelancing in my area doing Ruby on Rails, and found it far harder to maintain a project. I also found it harder to acquire clients in my area for new RoR development. More work was available locally with PHP. Clients were more willing to pay. I've done a ton of things in WordPress that shouldn't have been, "to save money". And I've done greenfield development with CodeIgniter, Laravel (v3 and v5), and a c…

What's beautiful and what pays our bills are unrelated. If I have to do a beauty contest of the programming languages I used a lot, from uglier to most beautiful, I'd sort them like this: PHP, Perl and C (no ++), Java, JavaScript, Ruby. I didn't use Python a lot and I'm undecided if it should be placed before or after JS. That silly method(self) looks as useless as PHP's silly $this->attribyte. They're just bad desig…

Python's method(self) is very useful. It gives the ability to call methods in the same way you use functions, which is what they really are. It allows you do things like map(str.strip, list_of_strings).

Re: PHP Sucks

#250

Earlier quoted context omitted.

Give us a break, as a language PHP is a terrible language, and yes I do develop and get paid because of PHP, and I do so for the same exact reason you listed. It pays the bills and does so handsomely too. I have 20 yrs of programming experience in various languages than I care to count, as much as 20! So I do know my languages. From an academic perspective, PHP blows! But from a practical standpoint, it's a tool. It…

Is it any worse than Javascript, if we're honest?

I prefer PHP to Javascript... And PHP does sucks.
Post reply on HN