3 ms·
Are you suggesting we move to C++++?
by dnmc 7mo ago
Are you suggesting we move to C++++?
- zlfn 7mo agoIt's already there. It's called C#
- HackerThemAll 7mo agoWell, C# also has its quirks already. Like the crippled finalizers which are never to be used. If the IDisposable interface had been correctly designed, finalizers could become be the "public void Dispose(void)". Or the manual passing of Task in case of async methods, which is... kinda smelly.
- tialaramex 7mo agoIt's possible you didn't realise, but C# is sometimes said to be named that way because # is the symbol you get if you draw ++ small and then on the line below ++ again. Hence C++++ All languages have some spikier edges, there are no languages I know where I think "Well, even if we could start over I have no idea how to improve this". What's notable about C++ is just how rich that "could do better" seam is, so very many of their defaults are wrong, so many of their keywords are the wrong word, so many of their standard library features are allowed, sometimes even mandated to be crap.
- HackerThemAll 7mo agoI think you meant to get that to the original poster, who seems to imply C# is the flawless, bestest incarnation of C\+\+(\+\+)+.
- kstrauser 7mo agoI don’t know if that’s true or not, but while the thought never crossed my mind before your comment, it’s now canon in my mind. Yes, C# is spelled C++++ with a ligature.
- Sharlin 7mo agoThe name is actually pretty clever (the fact that it was originally un-googlable notwithstanding). There are at least three interpretations: * "C sharp" as in "C but higher", * C with four pluses, and * a homophone of "see sharp"
- cyberax 7mo agoThis is a fundamental problem with GC-ed languages. You can't get predictable finalization, so IDisposable can never be implemented reliably.
- layer8 7mo ago“#” is just two “+”. Count the lines.
- m-schuetz 7mo agoPersonally I like C+. Picking the nice parts of C++, but skipping all the nonsense. I just wish C++ hadn't deliberately screwed up designated initializers with mandatory ordering. The C version of it that allows out-of-order assignments is clearly superior.
- dist-epoch 7mo agoDidn't you read the article? That form is deprecated. The recommended one is C,++,++
- PaulDavisThe1st 7mo agoYou clearly didn't read it either. Going forward, it will be C++...