Hacker News new | ask | show | jobs
by pjmlp 3370 days ago
First of all C/C++ doesn't exist, what we have is C and C++.

Second, my issue is with C not C++. C++ is one of my favorite systems programming languages, only spoiled by C copy-paste compatibility, which gets abused by C refugees using a C++ compiler.

I never cared for POSIX, because I always had access to rich C++ libraries, Turbo Vision on MS-DOS, OWL, MFC and ATL on Windows, Motif++ on UNIX and so on.

Windows 3.1 was already doing perfectly fine with C for Win32 SDK, with everything else being done in C++, Turbo Pascal, Delphi and VB.

It was the rise of UNIX, FOSS culture tied to C that changed the wind on C++ sails.

Thankfully Microsoft has decided that C++ is the only system programming language worth keeping and anyone that still wants to use C can keep using gcc and clang instead.

At least there is no place for C in UWP, unless for those that enjoy doing bare COM calls.

As for running around the internet, I guess you are too young, back in the day the C vs C++ flame wars were fought on BBS, USENET or even Teletext messaging boards.

Not everything is (thankfully) written in C, specially in the enterprise world where Java, .NET and C++ rule.

It is also very positive that ANSI C++ working group is turning C++ into a systems programming language with batteries, instead of relying on whatever OS APIs are available.

As for me, I have done my contribution to the world, by not writing a single line of C code since 2002.

The tools of trade are Java, .NET and C++.

One day C++ might get replaced by (Go, Swift, D, Rust, Ada), but currently C++17 as a helper language to Java and .NET, for my line of work, is good enough.

Of course by using RAII, no pre-processor beyond #include, std::string, std::vector, std::array, enum classes, references, templates, std::unique_ptr, , std::shared_ptr, and not a single line of C like coding other than as FFI to third party libraries.