hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.4K
active users

Today on exceptionally shit takes: "C++ is easier than Java"

@luatic it's true tho, the hello world is shorter 🧠

@lizzy ☝️🤓 actually with Java 23+ you can now have "void main() { println("Hello world!"); }" which should be shorter than the C++ one (even if you skip the iostream verbosity and use C puts) since you don't need to include anything

@luatic @lizzy "even if you skip the iostream verbosity and use C puts" What are you using? C++98 or something? std::print exists in C++23 so :).

@pinskia @lizzy C++ 17 😔

((but std::print is still longer than puts and you still need to include something for it, so..))

pinskia

@luatic @lizzy `import std;` in C++26 :) and the plan IIRC is to include the std module for GCC 15.