How hard are languages?

So this is a bunch of polls about how easy (or hard) some languages are ( 1 - very easy, 10 very hard)


Python
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
C
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
C++
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
TypeScript
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
NodeJS
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
Java
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
Kotlin
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
Bash
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
C#
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters

@NateDhaliwal, apparently @QwertyQwerty88 and I voted 10 for Java.
I’m gonna see what you think about Java.
Here’s the Java code for hello world:

class Main {
  public static void main(String[] args) {
    System.out.println("Hello world!");
  }
}
2 Likes

10
I’ve never done Java but it looks deadly.
Now I know what they mean when they said Java is entirely OOP.

2 Likes

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.

2 Likes

I only know Python, so I can’t estimate the complexity of either Python or other programming languages.

2 Likes

I think java is pretty easy.

I’m confused, I’ve always thought that C/C++ is much harder than Java :sweat_smile:

Well, you thought wrong lol. It’s really a matter of opinions tho. As a Python developer whose first language was Luau, yeah Java is terrible.

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.

3 Likes

What r ur opinions on Kotlin then?

Kotlin is just a simplified version of Java and it’s easier than C and C++.

fun main(args : Array<String>) {
    println("Hello, World!")
}

heh a part of the description for jdk 21 says it too-
image

read more here: JEP 445: Unnamed Classes and Instance Main Methods (Preview)

2 Likes

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
3 Likes

only in Python can you print a 19-line poem with 11 characters.

2 Likes
import this
1 Like

NodeJS is not a language though.

1 Like