89

I have met a couple of them in real life, and a few I have met online. The sample is not significant enough to draw any conclusions about their point of view and background.

I am more than interested in your opinions about the personality and political makeup of people who express this type of pro-C bigotry.

you are viewing a single comment's thread
view the rest of the comments
[-] xmunk@sh.itjust.works 33 points 2 weeks ago

C++ is pretty awesome but anyone who thinks a single language is the solution to all problems is dumb... unless you're smart enough to realize that the one language to rule them all is PHP of course!

[-] scrubbles@poptalk.scrubbles.tech 32 points 2 weeks ago

If there is anything I've learned in my 10+ years as an engineer, it's that there are no good or bad languages, just pros and cons of each in different applications.

Except NodeJS. Never use JavaScript on the backend.

[-] Feathercrown@lemmy.world 10 points 2 weeks ago

You're all just mad that JS stole your niche /s

[-] phoenixz@lemmy.ca 6 points 2 weeks ago

JavaScript is the worst, in general

[-] SorteKanin@feddit.dk 6 points 2 weeks ago* (last edited 2 weeks ago)

If there is anything I’ve learned in my 10+ years as an engineer, it’s that there are no good or bad languages, just pros and cons of each in different applications.

I dunno if I agree really - the more languages I've learned, the more I see an evolution from less sophisticated, less usable languages to more sophisticated, more usable, modern and just generally better languages.

C and C++ are old, and you can tell. There's so much complexity and legacy in those languages that it's crazy. But it's not just legacy - it's also bad design choices. There's a lot of really bad APIs and bad usability and footguns everywhere. You see the same thing in languages like JavaScript (whose design journey has been fraught with peril). Even Java has some bad stuff I would say, mostly from the overzealous insistence on OOP.

However, if you look at some modern languages that were more deliberately designed, you really start to see how they are just intrinsically better. Python, while still being a dynamically typed scripting language which I would never use for large systems, is still leagues better than JavaScript in terms of design and usability I would say. Haskell was born from research and you can really tell - the language just makes sense in a very scientific way - although that does mean ease of use and developer experience has not always been the priority.

Rust was developed for a very particular purpose, basically to provide the same speed as C++ but without any undefined behavior. From that design principle, a lot of good has resulted and Rust is basically an objectively better language than C++. The only thing still keeping C++ in the game is the historical reasons, just due to the sheer amount of code that exists out there in C++. C++ has more support in all kinds of places, but that's just due to history and Rust will likely gain ground soon enough. For instance, C++ still rules for game development, but this could change within the next 5 or 10 years.

It's not that surprising when you think about - languages like Python, Haskell and Rust were built on the giant pile of experience the whole industry has amassed from using previous languages. It also helps that we just have more computing power today to make languages like Rust feasible. Rust compile times probably wouldn't have been realistic 30 years ago.

[-] ByteOnBikes@slrpnk.net 4 points 2 weeks ago

NodeJS has made me a very employable engineer.

[-] FiskFisk33@startrek.website 4 points 2 weeks ago

i find javascript to be a great language for throwing together quick and dirty hacks.

[-] chunkystyles@sopuli.xyz 4 points 2 weeks ago

For small programs and scripting, Node is amazing. I've even written some CLI utilities in Node as standalone executables. I think most people who bash it have either never used it, or haven't used it lately.

[-] ByteOnBikes@slrpnk.net 3 points 2 weeks ago

I hope that last part wasn't a joke at PHP's expense.

I am actually surprised what PHP can do over the past few years. We converted a few critical REST APIs into PHP and it wasn't just lightning fast, it's also incredibly readable that we had non-PHP developers convinced it was the right move.

[-] xmunk@sh.itjust.works 4 points 2 weeks ago

It wasn't, I think PHP is legitimately an excellent language for readability and expressiveness.

[-] phoenixz@lemmy.ca 3 points 2 weeks ago

PHP is effin awesome, I solve almost everything with it, and fast

this post was submitted on 29 Nov 2024
89 points (95.9% liked)

Asklemmy

44122 readers
427 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS