Marc Planard on Nostr: I'm slightly annoyed by the "#Java is becoming more like #Rust" article that has ...
I'm slightly annoyed by the "#Java is becoming more like #Rust" article that has popped a dozen times today already in my timeline. The immutable data part miss the point: to be like Rust you have to be immutable by default. You can emulate enums with more verbose constructs? Good for you. To be more like Rust, Java would need to lose features, and it can't or it won't be Java anymore. It's okay. The JVM will carry on with newer languages. And there will be legacy code to support for decades.
Published at
2024-03-05 19:36:36Event JSON
{
"id": "a0d3a77f029379258072de3559dcaf1295f48753ed866fd02471327a6f48dc56",
"pubkey": "79c16d9c318f770b262a163ddc7d2c8c449ff553f4bec786d8479ebf207dfd4d",
"created_at": 1709667396,
"kind": 1,
"tags": [
[
"t",
"java"
],
[
"t",
"rust"
],
[
"proxy",
"https://mamot.fr/users/corpsmoderne/statuses/112044762483885744",
"activitypub"
]
],
"content": "I'm slightly annoyed by the \"#Java is becoming more like #Rust\" article that has popped a dozen times today already in my timeline. The immutable data part miss the point: to be like Rust you have to be immutable by default. You can emulate enums with more verbose constructs? Good for you. To be more like Rust, Java would need to lose features, and it can't or it won't be Java anymore. It's okay. The JVM will carry on with newer languages. And there will be legacy code to support for decades.",
"sig": "66c49016aef2d9a7bad176cde1c94668ba9a3c4ef457e3c1b785693d7de6a90824335b502156e3311213562c6b0c63b947e2ebb298ef377f6c99e4ad1273138f"
}