I've now seen twice the notion insinuating PHP is somehow still a lesser language.
-
@sushee Ok, challenge accepted. mod_php is and was brilliant. Reduced the barrier of entry to making server side webapps to nearly nothing. Write normal HTML, add some <?php blocks, copy to server. Webapp.
-
@torb @Crell @sushee No offense, but your "I dislike PHP because it's not typed" is the exact reason why PHP devs wonder where all the ideas about it come from.

I personally haven't written a single PHP project without types and later strict enforcement in the last 10 years. I'd guess 95% of my entire codebase (due to some libraries opting to be backwards compatible) is typed.
@a_lex_ander @Crell @sushee I mean, my main point here was that even if my premise was true you would still *have to* recognize that it’s not worse than many other popular and relatively respected languages.
Additionally I also wanted to make the point that you can dislike something and still respect it.
-
@a_lex_ander @Crell @sushee I mean, my main point here was that even if my premise was true you would still *have to* recognize that it’s not worse than many other popular and relatively respected languages.
Additionally I also wanted to make the point that you can dislike something and still respect it.
@torb @Crell @sushee As I wrote, I'm not trying to attack you in any way. It's just funny how many misconceptions there still are even after a decade. I don't know of any language that seems to be as misunderstood. But then again, someone recently told me monitors in Linux are almost impossible to configure because of all the config files and I genuinely couldn't remember the last time I opened an XF86Config.
-
@torb @Crell @sushee As I wrote, I'm not trying to attack you in any way. It's just funny how many misconceptions there still are even after a decade. I don't know of any language that seems to be as misunderstood. But then again, someone recently told me monitors in Linux are almost impossible to configure because of all the config files and I genuinely couldn't remember the last time I opened an XF86Config.
@a_lex_ander I was kinda aware that PHP had gradual typing (as with all scripting languages), so it doesn’t change it *that much* for me. I really like fairly strong and strict type systems. Of course those come with their own tradeoffs (my Swift compile times are at times slow and my the compiler error messages not always the easiest to understand). I suppose I’m willing to pay that particular price.
EDIT: Did not take it as an attack at all! It’s hard to keep detailed track of all tech communities and it was fun to learn more!

-
@a_lex_ander I was kinda aware that PHP had gradual typing (as with all scripting languages), so it doesn’t change it *that much* for me. I really like fairly strong and strict type systems. Of course those come with their own tradeoffs (my Swift compile times are at times slow and my the compiler error messages not always the easiest to understand). I suppose I’m willing to pay that particular price.
EDIT: Did not take it as an attack at all! It’s hard to keep detailed track of all tech communities and it was fun to learn more!

@torb @a_lex_ander The difference with PHP is that types are runtime enforced. In python it's ahead of time optional static analysis only. Typescript is compiled. Of gradual languages, PHP actually enforced types. And then there is a robust static analysis tool chain on top of it that's even stronger.
-
@solariz @sushee programming language ethnography is fascinating. Germany and Ukraine are php, france has ocaml, Russia is very c++ (at least was in the early aughts), java vs c#. I worked with indian developers and while not remotely knowledgeable about its culture, java seemed to at least within their cultural sphere to be omnipresent.
While people were clowning on php when I lived in Europe, it was usually more in jest. I encountered genuine if not hatred, then dismissal and ridiculing of php and Java developers here in the US, amongst people from whom I really expected better (recurse center alumni).
One reason I think that php gets so much flack here in the US is classism. A lot of businesses here are started by what I’m going to call “hustlers”, people who like building businesses. They will usually get a supply chain going and put a Wordpress site in front because they can muck about with plugins, then hire a php dev or two (because until relatively recently, JavaScript was second grade citizen in wp), and usually hire non-us developers on freelancer.com (which is where I got the job that ultimately made me move to the US). As such, a lot of php developers are lower-class people, often from the global south (while not necessarily lowerclass, I was living in eastern Germany and barely making ends meet because uh autism and German work culture or something). People often without degrees, or working in “software sweat shops” and not all that invested in their craft or not having the opportunities to invest in it.
-
@afilina @solariz @sushee it's interesting isn't it. Like I certainly remember us clowning on a whole variety of things.
Now that I feel more culture shock going back to europe than the other way round, I think a) identification with one's job and occupation is much stronger in the US (both a good and a bad thing) and a stronger "belief" that your choices determine who you are, and that the choice of a programming language is thus a statement of value and identity (also a good and a bad thing).
One of the bad sides is that it leads to this more emotionally laden discourse (see llms right now too).
Ofc this is me just rambling, don't ascribe too much to it, but it also feels validating to see that other people notice it too.
-
@sushee any language that still thrives at this point must be working.
-
@sushee oh gosh, the language I dislike the _most_? I'm not even sure what that would be. Like, I sometimes poke fun at (or outright denigrate) javascript, but it's obviously extremely powerful. and coding in it works well enough. I wouldn't say I dislike it the _most_.
So that leaves, I dunno, objective C or maybe Go, but I don't have enough experience in them to even say something bad about them properly, let alone something good.
-
@torb @a_lex_ander The difference with PHP is that types are runtime enforced. In python it's ahead of time optional static analysis only. Typescript is compiled. Of gradual languages, PHP actually enforced types. And then there is a robust static analysis tool chain on top of it that's even stronger.
-
I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.
NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.
So be in freakin' solidarity with each other for a change.
I challenge you to say something good about the language you dislike the most.
I'm so SO tired of this shit since 1999, really.
@sushee ironically the language i dislike the most is for peripheral reasons to anything about it (i won't name it but it's quite nice design-wise)
unfortunately its association with a reprehensible designer means hup into the memory hole with ya
(not referring to sth in current widespread use)
-
@sushee ironically the language i dislike the most is for peripheral reasons to anything about it (i won't name it but it's quite nice design-wise)
unfortunately its association with a reprehensible designer means hup into the memory hole with ya
(not referring to sth in current widespread use)
@erisceleste I actually googled rasmus lerdorf controversy etc etc first because I'm not defending a programming language with an iffy smell
there are some I'm avoiding for that reason.
-
@erisceleste I actually googled rasmus lerdorf controversy etc etc first because I'm not defending a programming language with an iffy smell
there are some I'm avoiding for that reason.
@sushee haha nah sorry, one completely unrelated to PHP
-
I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.
NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.
So be in freakin' solidarity with each other for a change.
I challenge you to say something good about the language you dislike the most.
I'm so SO tired of this shit since 1999, really.
@sushee I dislike perl. Not because it's bad, but because it is too powerful. Anything you need to do, perl can do it. But should it. Should it?
-
D dansup@mastodon.social shared this topic
-
@a_lex_ander @zerodogg @sushee I did not know about Caddy thanks for this
-
I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.
NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.
So be in freakin' solidarity with each other for a change.
I challenge you to say something good about the language you dislike the most.
I'm so SO tired of this shit since 1999, really.
@sushee hm, I understand your point but am a little ambivalent. Not at all towards php nut much more towards JavaScript, but I guess the name of the language does not matter. Or does it?
-
I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.
NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.
So be in freakin' solidarity with each other for a change.
I challenge you to say something good about the language you dislike the most.
I'm so SO tired of this shit since 1999, really.
@sushee The language I dislike the most is Javascript and I had the impression that the community was developing way better than my beloved Ruby community.
(Disclaimer: I haven't had the capacity to look into these things for many years
) -
I've now seen twice the notion insinuating PHP is somehow still a lesser language. Some people are apparently stuck in a 25 year old notion of PHP.
NOBODY can afford this anymore and if this shit of communities doing it to EACH OTHER doesn't stop, you're just making it easy to be destroyed.
So be in freakin' solidarity with each other for a change.
I challenge you to say something good about the language you dislike the most.
I'm so SO tired of this shit since 1999, really.
@sushee Yes, now PHP is rigid and object oriented like all these other languages out there and there is no reason to use it instead of one of them.
-
R relay@relay.infosec.exchange shared this topic
Start server, get SSL out of the box, drop script, run everything in parallel.