On the ladder down to language hell and up to language heaven, PHP sits comfortably at about 40% of the way down. But I guess it depends on what you're trying to do with it. Still, if you want to hate-meme on some shitty languages, there are far more deserving subjects out there.
COBOL. It probably seemed like a good idea back then.
VBA. Nothing in this language works like one would expect, the IDE forcing its ideas about code formatting upon you is frankly insulting (while it doesn't do the one thing amateur code would benefit most from, indentation), and they've missed so many opportunities to make the language less of a chore...
XML. Not a programming language, but so much more prevalent and at the same time so much worse than any of its alternatives. It is verbose, has issues deciding whether to be whitespace-sensitive or not, and has been extended to oblivion. Have you ever tried parsing this mess?
CSS. Yes, it is turing-complete. Like what I said about VBA, nothing in CSS works like you would expect. The spec contains all kinds of feature creep you can imagine (parallax scrolling ffs), yet fails to deliver robust solutions for basic things, e.g. how to vertically center one element inside the other.
JavaScript. This language has been developed to reliably open pop-ups and that's it. Some galaxy brained individuals thought "what if it did other things?" and didn't realize it was time to stop. The performance inadequacies of the base language have been adressed by shoving the entire language into one big async framework, making development a nightmare. Yet V8, a project handled by hundreds of Google engineers, still gets dunked on by LuaJIT, a similar project developed for a similar language by basically one dude in his free time (and in Lua you don't have to deal with all this async bs).
Other galaxy-brained individuals thought that JavaScript was a suitable language for serving websites, since it already had so much to do with the web.
Yeah, it's been some years since I last touched PHP. Seemed decent at its job when it comes to controlling HTML output and having a usable MySQL interface, but it's not like I was trying to do ray tracing with it.
On the other hand, as I'm currently writing my bachelor's thesis on a JavaScript topic, I'm quite confident in my judgement about the language. It started out as a mediocre idea executed poorly, and instead of fixing the foundation they just kept on piling bad decisions on top of the heap. From the worker API to casts and equality, it's turd-tles all the way down.
MUGEN managed to turn fricken INI files into a programming language. I mean, it has a different file extension, but it undeniably is just a glorified INI file.
I've never written anything in Go, so I'm not gonna dunk on it. To be completely honest, your comment is the first time I've seen any opinion on Go. It got kinda steamrolled by Rust in the public perception department, didn't it?
CSS doesn't even include parallax. It lets you make a fixed position background that doesn't move with scroll or a normal background, but doesn't offer anything in between(like scrolling at half speed). Also, it's only supported for background images so you can't use text or anything else.
Matlab: Why use Python+Numpy when you could be paying for the privilege of getting brain cancer instead. I dare anyone to write good Object-oriented code in that dumpster fire.
Scratch abstracts away a lot of the preciseness (like syntax) needed in other languages, so it makes it much easier to teach the basic concepts of CS through it. If there's a course about Scratch and they're not just using it to introduce ideas and algorithms, that's a different matter. It may not look "cool", but it's a fine Turing complete teaching language.
Yeah, that's fair. My high school taught Visual Basic and Turing in grade 10 (which one you learned depended on the course) and I'm pretty sure most people who took the classes understood how to use them.
When I started out at university, I thought Java was a horrible language. Since then I've realized that in the raging hellfires of language design with the writhing tentacles of madness gripping for your soul, Java is sitting in a pot at medium simmer, with a heat-resistant squid just chilling out in it.
PHP is an OK language for what it's intended to be used for. What gets it the bad reputation is the ability to write very bad code in it, which is pretty common considering anyone ever interested in webdev tend to try it
You can write bad code in almost all languages. You need to go out of your way to do it in good languages though. PHP requires extremely careful thought and a deep understanding of the standard library to write good and safe code, neither of which the target audience (amateur programmers) have.
I dont think so, is there any other language that makes so easier for me to store data in database?
And is one of the easiest languages to learn
Am currently learning flutter and have no fucking idea whats going on
To simple put a text in scaffold you need title : "hello",
To put text anywhere inside the bidy you need to turn text into constructor Text("hello"). And to use it inside a container(a div for mob dev) you need to put a child: before text
Lile what even the fucking is going on?
And dont het me started on grid layout and silver delegate grid fuckery
63
u/bucket3432 Dec 11 '19 edited Dec 12 '19
For the record, I have nothing against PHP, but this was too good to pass up.
Sauce: {Seishun Buta Yarou wa Bunny Girl Senpai no Yume wo Minai}
EDIT: Template
74
u/LJChao3473 Dec 11 '19
I didn't even started with ph yet and this subreddit and ph is scaring me
15
u/RobloxianNoob Dec 11 '19
BEST GIRL FUTABA
6
u/SingularReza Dec 12 '19
PHP is an OK language for what it's intended to be used for. What gets it the bad reputation is the ability to write very bad code in it, which is pretty common considering anyone ever interested in webdev tend to try it
10
u/[deleted] Dec 12 '19
But I love PHP :(
1
u/TechnoGamer16 Dec 12 '19
Sauce?
3
u/[deleted] Dec 12 '19
My response, ifyou don't mind: (pretty sure this one didnt git banhammerd - pro tip: tease mods in clever repost to repost banned content ;) )
https://www.reddit.com/r/ProgrammerHumor/comments/dyy1rp/quick_banned_footage_while_python_loving_mods/?utm_source=share&utm_medium=ios_app&utm_name=iossmf
2
u/L0G1C_lolilover Dec 14 '19
I dont think so, is there any other language that makes so easier for me to store data in database?
And is one of the easiest languages to learn
Am currently learning flutter and have no fucking idea whats going on
To simple put a text in scaffold you need title : "hello",
To put text anywhere inside the bidy you need to turn text into constructor Text("hello"). And to use it inside a container(a div for mob dev) you need to put a child: before text
Lile what even the fucking is going on?
And dont het me started on grid layout and silver delegate grid fuckery
2
u/incubeftw Dec 14 '19
Should be replaced with Java instead of PHP.
1
u/[deleted] Dec 12 '19
What is this from Facebook?
https://amp.reddit.com/r/programming/comments/70ymj4/facebooks_hack_language_is_cutting_the_bridge
1
u/Pinknerdswagger Dec 19 '19
Plain text is the best programming language
1
u/Drtimelord04 Dec 11 '19
PHP? Never heard of it...