Hacker News new | ask | show | jobs
by pjmlp 12 days ago
I see it differently, given how C with Classes came to be, a Typescript for C in 1989.
2 comments

You know, I’m actually tempted right now to do my own "C with <my-features>". Except I wouldn’t make the same choices as Stroustrup did. For one, I wouldn’t aim for popularity. I’d want something that works for me, and I’d consider it a success even if I’m the sole user. Source compatibility would not be a goal, and I’d most probably skip classes entirely.

The way C++ was first implemented was a good idea. It’s everything else I disagree with.

The origin of a thing does not forever define what that thing is and always will be. C++ has evolved far beyond C with Classes.