691
you are viewing a single comment's thread
view the rest of the comments
[-] entwine@programming.dev 8 points 1 month ago

I still get sad when I think about Objective C and how it didn't take off vs C++ just because it had ugly syntax (which becomes beautiful once you understand why it is the way it is)

[-] plyth@feddit.org 4 points 1 month ago
[-] entwine@programming.dev 6 points 1 month ago

Both C++ and Objective-C aimed to be "C with classes". C++ does it by hijacking existing syntax (struct), Objective-C does it by adding new syntax, while leaving the original minimalism of C untouched.

In fact, it's a strict superset of C, which means it doesn't change anything at all in C, it only appends. So every valid C program is a valid Objective C program (which is not true for C++).

You know how some C programs are valid C++ programs though? Well, those same programs can use Objective C features too, meaning you're able to use them in C++... Meaning you're able to code in "Objective C++" (which is very common for interop purposes)

[-] bestboyfriendintheworld@sh.itjust.works 4 points 1 month ago* (last edited 1 month ago)

I’m still mad at Apple for making Swift instead of Objective-C 3.0. It was such a powerful and small language.

C++ has a billion features and Swift is getting more every year.

Objective-C was fast to compile, great in a debugger, and allowed lots of creativity and patching broken system components.

Lots of great software was written with it. CocoaBindings are magical.

this post was submitted on 17 Feb 2026
691 points (97.5% liked)

Programmer Humor

30816 readers
518 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS