Skip to content
 
If you can read this, either the style sheet didn't load or you have an older browser that doesn't support style sheets. Try clearing your browser cache and refreshing the page.

(The Register)   2020 releases yet another horror into the world. PHP 8   (theregister.com) divider line
    More: Misc, PHP, Mark Story, Programming language, Java, C, web applications, Interpreted language, Bytecode  
•       •       •

1105 clicks; posted to STEM » on 26 Nov 2020 at 9:35 PM (7 weeks ago)   |   Favorite    |   share:  Share on Twitter share via Email Share on Facebook



18 Comments     (+0 »)
 
View Voting Results: Smartest and Funniest
 
2020-11-26 9:40:54 PM  
Fark user imageView Full Size
 
2020-11-26 9:49:45 PM  
Hey now, PHP has gotten better with each release. So, by now, they've gone from "ass cancer" to "bubonic plague", which you have to admit, is a nice improvement.
 
2020-11-26 10:05:12 PM  
"As with other languages, ill-behaving code is often more a reflection of developer experience than language deficiencies."

Ah yes. This language is perfect, it's just plagued by impure developers who have not reached sufficient PHP enlightenment to use the language of the gods. Those who would seek the true PHP path must first seek training as a novice under a PHP Prelate.

Weird that JavaScript, VBScript, and Python don't have those problems. *Shrug*

/Yes, I am aware those other scripting languages have their own shortcomings.
 
2020-11-26 11:28:15 PM  
I get contacted by recruiters looking for PHP developers, at least once every couple of weeks, for companies that are doing new development using PHP. Not maintaining or converting legacy code, new development. Just saying.
 
2020-11-26 11:51:28 PM  
PHP is awesome.

/True story
 
2020-11-27 12:06:59 AM  
PHP is fine. I have a bunch of sites hosted on virtual servers, and PHP is the primary means to code the server side stuff.

It would be nice to deploy docker containers with my C# ASP.NET Core Kestrel apps, but throwing together some PHP scripts is quick, pretty simple, and gets the job done.

At least it's not F#
 
2020-11-27 1:03:35 AM  
What version is Perl up to these days?
 
2020-11-27 1:51:03 AM  

wax_on: What version is Perl up to these days?


5.32 - they haven't felt the need to introduce breaking changes for quite some time now.
 
2020-11-27 1:53:37 AM  

Fabric_Man: "As with other languages, ill-behaving code is often more a reflection of developer experience than language deficiencies."

Ah yes. This language is perfect, it's just plagued by impure developers who have not reached sufficient PHP enlightenment to use the language of the gods. Those who would seek the true PHP path must first seek training as a novice under a PHP Prelate.

Weird that JavaScript, VBScript, and Python don't have those problems. *Shrug*

/Yes, I am aware those other scripting languages have their own shortcomings.


Yeah... I've made the full circle from PHP early through perl, Java, python, Ruby, C, C#, cold fusion, objective c, JS and back to a mix of PHP and nodejs.

Every single project I've been brought on to help that has legacy code, no matter the language, has technical debt. The more inexperienced the devs who started the code base, the worse it was. Again, no matter what language.

My worst experiences with bad code have all come from people using things the wrong way. The languages I hate are python and Ruby.... Mostly cause lack of punctuation pissed me off.

Bad coders make bad code. You can write poetry in any language.
 
2020-11-27 2:01:27 AM  

Fabric_Man: "As with other languages, ill-behaving code is often more a reflection of developer experience than language deficiencies."

Ah yes. This language is perfect, it's just plagued by impure developers who have not reached sufficient PHP enlightenment to use the language of the gods. Those who would seek the true PHP path must first seek training as a novice under a PHP Prelate.

Weird that JavaScript, VBScript, and Python don't have those problems. *Shrug*

/Yes, I am aware those other scripting languages have their own shortcomings.


That's total BS. VBScript or Python or Perl in the hands of the same audiences who were making terrible PHP would be just as terrible.
 
2020-11-27 4:42:24 AM  
You could hand a Nerf gun to some developers and they'll still be able to shoot themselves in the foot with it.

My day job is a PHP codebase with quite some legacy. Some choices were made "before my time" that annoy me. One of the largest issues is in the data model. It's totally unrelated to the language or the particular SQL flavour we use. Technology can't fix stupid.
 
2020-11-27 4:46:37 AM  

Fabric_Man: "As with other languages, ill-behaving code is often more a reflection of developer experience than language deficiencies."

Ah yes. This language is perfect, it's just plagued by impure developers who have not reached sufficient PHP enlightenment to use the language of the gods. Those who would seek the true PHP path must first seek training as a novice under a PHP Prelate.

Weird that JavaScript, VBScript, and Python don't have those problems. *Shrug*

/Yes, I am aware those other scripting languages have their own shortcomings.


Fark user imageView Full Size


I also code in A LOT of JS. My early JS is complete and utter trash vs my rewrites when I get embarrassed by my own code.
 
2020-11-27 5:03:40 AM  

dyhchong: I also code in A LOT of JS. My early JS is complete and utter trash vs my rewrites when I get embarrassed by my own code.


"What idiot ...?" *checks version control* "Oh, me, six years ago."
 
2020-11-27 11:07:38 AM  

turboke: dyhchong: I also code in A LOT of JS. My early JS is complete and utter trash vs my rewrites when I get embarrassed by my own code.

"What idiot ...?" *checks version control* "Oh, me, six years ago."


Yikes, I did that just a few weeks ago. Thank Dog I had commented heavily.
 
2020-11-27 2:42:53 PM  
The only consistent thing among codebases is that there are 2 ways to use them: the way I would do it, and the way the idiot did it.
 
2020-11-27 7:27:56 PM  
Fark user imageView Full Size
 
2020-11-28 2:00:08 AM  

jagermurray: [Fark user image 484x460]


I too like to live dangerously.
 
2020-11-28 8:25:57 AM  
PHP is not only the bastard child of C++ and Perl, but it has to work with the web languages that already existed at time, most notably Javascript. The result is a hodgepodge of features that are all over the freaking place. Like JS, it's also loosely typed, and it tries to guess what you meant if your types don't match, sometimes resulting in really strange bugs that aren't immediately caught. If you want a perfectly structured, orderly language, this very much is not it. (although some of the more bizarre stuff has been ironed out from version to version)

It's also by FAR the most popular web language, because it's designed from the ground up for making web code, has many features to do so rapidly and efficiently, and all that effort to make it work seamlessly with everything else makes it do, well... that. When it comes to simply getting shiat done, it's great, and if you use it with an understanding of how to actually program, it is perfectly possible to make readable, efficient, maintainable code - just be aware that it gives you some strange places to shoot yourself in the foot, and well... don't do that.
 
Displayed 18 of 18 comments

View Voting Results: Smartest and Funniest

This thread is closed to new comments.

Continue Farking





On Twitter



  1. Links are submitted by members of the Fark community.

  2. When community members submit a link, they also write a custom headline for the story.

  3. Other Farkers comment on the links. This is the number of comments. Click here to read them.

  4. Click here to submit a link.