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
[–] [email protected] 9 points 1 year ago (2 children)

PHP or C++, I love both of them for different reasons. Tough one deciding between the two.

[–] [email protected] 19 points 1 year ago (2 children)
[–] [email protected] 7 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago (2 children)
[–] [email protected] 8 points 1 year ago (3 children)

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] 9 points 1 year ago (2 children)

@[email protected] An extraplanar nightmare creature being summoned by writing a code that is mixture of php and C++.

[–] [email protected] 14 points 1 year ago (1 children)

Here's your image!

AI image generated with the prompt from the previous comment


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.

[–] [email protected] 4 points 1 year ago

5 stars, would summon with an unholy mix of C++ and PHP again.

[–] [email protected] 2 points 1 year ago

Oh my gosh, that's fantastic!

[–] [email protected] 2 points 1 year ago

Heh, fair enough!

[–] [email protected] 2 points 1 year ago (1 children)

Relatively scary syntax is is nicely said. :)

Php is absolutely scary.

[–] [email protected] 3 points 1 year ago

Have you used modern PHP with its ecosystem and frameworks? It's actually really solid, and really good at what it aims to do.

[–] [email protected] 2 points 1 year ago (1 children)

I think it's the PHP, makes people doubt your soul's status that you'd subject yourself willingly to it

[–] [email protected] 1 points 1 year ago (2 children)

Well, that's quite easy - if you judge a language by what it looked like 10 years ago, your opinion doesn't matter

[–] [email protected] 2 points 1 year ago (1 children)

Because no way could I dislike modern PHP. Maybe you just have low standards when it comes to programming languages?

[–] [email protected] 1 points 1 year ago

Well, do you? Or is this just a hypothetical?

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 1 points 1 year ago (2 children)

Who downvoted this person's preference?

Like "you preferenced wrong"? "You have the wrong likes"? "You like something different from me?"

[–] [email protected] 7 points 1 year ago

The did not follow the hivemind of "Rust good, JS slow, C complex, PHP bad" which clearly means they are in the wrong /s