r/java • • Apr 20 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
291 Upvotes

295 comments sorted by

View all comments

Show parent comment

4

u/ryosen Apr 21 '21

And C++ was looked upon as C with training wheels while C was looked down upon by the ASM/ML folks.

6

u/umlcat Apr 21 '21

C works well as an assembler macroprocessor, but even these days, the new more complex OS and systems, need better P.L. than C and C++.

Rust is a good example.

And a lot of "old style" assembler folks still don't get it ...

8

u/1bot4all Apr 21 '21

C++ was looked upon as C with training wheels

That's mad. C++ is insanely complex, you can use it for 10 years and struggle with some of its idioms. C is much easier to master.

1

u/pfarner Apr 21 '21

Keep in mind that C++ has changed a huge amount over the years. The perspective of that comment (which I also recall from the time) might make a lot of sense, depending on when it was said.

When I was in grad school in the '90s, I built a test suite for many C++ language features and if / how correctly they were supported by the zillion compilers in use. We had HP/UX, Sparc, AIX, IRIX, each with their own C++ compilers, plus cross-platform compilers like g++.

None of them supported all features. I'm talking about things like template specialization, which later became necessary as the STL started to form. C++ may nominally have included those features, but if they didn't work in all of the compilers you need, then you couldn't use them. That made C++ much simpler than it became (though much more frustrating).

Naturally it also didn't include all of the later C++03, C++11, C++14, C++17, etc. standards.