this post was submitted on 13 Nov 2023
100 points (92.4% liked)

Programming

17432 readers
242 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 !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] rikudou@lemmings.world 9 points 1 year ago (2 children)

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

[–] PoisonedPrisonPanda@discuss.tchncs.de 19 points 1 year ago (2 children)

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.

[–] rikudou@lemmings.world 3 points 1 year ago (2 children)
[–] MajorHavoc@lemmy.world 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++.

[–] rikudou@lemmings.world 9 points 1 year ago (2 children)

@DallE@lemmings.world An extraplanar nightmare creature being summoned by writing a code that is mixture of php and C++.

[–] DallE@lemmings.world 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.

[–] dgriffith@aussie.zone 4 points 1 year ago

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

[–] MajorHavoc@lemmy.world 2 points 1 year ago

Oh my gosh, that's fantastic!

[–] rikudou@lemmings.world 2 points 1 year ago

Heh, fair enough!

[–] PoisonedPrisonPanda@discuss.tchncs.de 2 points 1 year ago (1 children)

Relatively scary syntax is is nicely said. :)

Php is absolutely scary.

[–] amju_wolf@pawb.social 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.

[–] interolivary@beehaw.org 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

[–] rikudou@lemmings.world 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

[–] interolivary@beehaw.org 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?

[–] rikudou@lemmings.world 1 points 1 year ago

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

[–] Undertaker@feddit.de 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

[–] rikudou@lemmings.world 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.

[–] sbv@sh.itjust.works 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?"

[–] Pyroglyph@lemmy.world 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