this post was submitted on 13 Nov 2023
101 points (92.4% liked)
Programming
17696 readers
302 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
PHP or C++, I love both of them for different reasons. Tough one deciding between the two.
What are you?
A satanist?
Don't lump them in with us! I'm a proud member of the Satanic Temple, and I wouldn't touch PHP on my most hedonistic night.
There's the Devil, and there's the Devil.
Heh, no, why?
Haha. I'm sure they're joking.
But probably because you chose two languages with relatively scary syntax.
I don't know how to create automation to summon extraplanar nightmare creatures, but if I had to start, my first attempt would be PHP, and I know in my heart that getting it working would require C++.
@[email protected] An extraplanar nightmare creature being summoned by writing a code that is mixture of php and C++.
Here's your image!
The AI model has revised your prompt: A terrifying creature from another dimension is being summoned. This is happening through a unique and unusual method, which combines elements of computer coding. The person initiating the summoning is dynamically typing a hybrid language that merges the syntax and functions of two popular programming languages, PHP and C++. The scene is imbued with a supernatural feel as ethereal lights emanate from the lines of code, giving a clue that this is not ordinary programming but something arcane and otherworldly.
5 stars, would summon with an unholy mix of C++ and PHP again.
Oh my gosh, that's fantastic!
Heh, fair enough!
Relatively scary syntax is is nicely said. :)
Php is absolutely scary.
Have you used modern PHP with its ecosystem and frameworks? It's actually really solid, and really good at what it aims to do.
I think it's the PHP, makes people doubt your soul's status that you'd subject yourself willingly to it
Well, that's quite easy - if you judge a language by what it looked like 10 years ago, your opinion doesn't matter
Because no way could I dislike modern PHP. Maybe you just have low standards when it comes to programming languages?
Well, do you? Or is this just a hypothetical?
Hm, my experience is from the last years and PHP remains awful. If this is all solved, pm me: https://wiki.theory.org/YourLanguageSucks#PHP_sucks_because
Half of that are lies and you can clearly see how up to date it is, because in one example it mentions php 5.1. That is close to 20 years old, it was released in 2005. I'm not gonna spend my time trying to disprove something that refers to a 20 years old version as its point of reference.
Don't get me wrong, there are valid drawbacks of PHP (as with any language), this document just isn't a good representation of that.
Who downvoted this person's preference?
Like "you preferenced wrong"? "You have the wrong likes"? "You like something different from me?"
The did not follow the hivemind of "Rust good, JS slow, C complex, PHP bad" which clearly means they are in the wrong /s
The person upthread got downvoted for what they like. 🤷
You got it backwards there. PHP was pretty bad (mostly because it was easy to pick up so novice and shitty programmers used it a lot), but got insanely better, and it absolutely stood the test of time - most of modern web still uses it and it isn't going anywhere. There are also few languages that would have such a robust ecosystem where you could whip up a solid, complete app in a few hours. JS comes close but its ecosystem is a clusterfuck. Everything else has poor third party support - be it libraries, connectors to various services or just simply best practices (for web).
I would argue but there is nothing to say about clearly wrong statements. PHP was 'good' (compared to nothing comparable) and is now no challenger any more. It stays as a result of dullness. "Everything else has poor third party support"? Well let me answer this as accurate as possible: lmao
...so you have not, in fact, used PHP in the past decade or so. Thanks for letting us know.