Stop comparing programming languages

chraebsli@programming.dev to Programmer Humor@programming.dev – 654 points –

Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
181

You are viewing a single comment
  • Python is NameError: name 'term_to_describe_python' is not defined

  • JavaScript is [object Object]

  • Ruby is TypeError: Int can't be coerced into String

  • C is segmentation fault

  • C++

  • Java is

Exception in thread "main" java.lang.NullPointerException: Cannot read the termToDescribeJava because is null at ThrowNullExcep.main(ThrowNullExcep.java:7)
Exec.main(ThrowNullExcep.java:7) 
  • CSS j ust # sucks
  • Kotlin is type inference failed. The value of the type parameter K should be mentioned in input types
  • Go is unused variable
  • Rust is Compiling term v0.1.0 (/home/james/projects/Term)

C++ is std::__cxx11::list, std::allocator > >::erase(std::_List_const_iterator >) /usr/include/c++/12/bits/list.tcc:158

I once forgot to put curly braces around the thing I was adding into a hashmap. If I remember correctly it was like ~300 lines of error code, non of which said "Wrong shit inside the function call ma dude".

The only reason to use AI in programming is to simplify C++ error messages.

Rust is downloading 1546 dependencies

Crates aren't exactly runtime dependencies, so i think that's fine as long as the 1500+ dependencies actually help prevent reinventing the wheel 1500+ times

I'll happily download 63928 depends so long as it continues to work. And it does, unlike python projects that also download 2352 depends but in the process brick every other python program on your system

Good for you. Not all of us have terabytes of free space on our computers.