Java is the worst. C# is too much like Java. I learned some basic C, it’s pretty easy other than pointers and stuff. C++ is good too, but the version on Replit is so low. I wish they’d update the template.
Java isn’t that hard, it just makes everything tedious and annoying like how methods have to explicitly be marked with what exceptions they throw and how every class has to be imported manually if you want the ide to help. C# is java but if it actually had thought put into developer experience.
At least for beginners, I would argue Java is harder to learn than C++. Java forces OOP from the beginning, so when looking at it from a beginner’s perspective it’s like jumbling a bunch of words together and hoping it works. Tutorials can’t even explain it until later on when actually learning about OOP concepts, so programmers just wonder why it even exists. Even the picture agrees this is way too cluttered.
While C++ does have some of this, a boilerplate C++ program with no output would probably look something of the sorts:
#include <iostream>
using namespace std; // This isn't even in all programs
int main() {
return 0;
}
Most beginner tutorials can at least explain #include and using namespace right from the beginning too.
While you could argue this is confusing, especially when getting into actually “couting” something onto the screen, it’s still comparable to Java. cout << "Hello!"; is still much better than System.out.println("Hello!") IMO.
Or you could just use Python and do it in a single line