716 karma · joined September 26, 2022
I mean he's going to jail. If anything that's better than most countries. In India, a chief minister who instigated racial riots never even had to go to court for it and he even became the current de facto autocrate
Everyone makes similar statements about AI, Ai is currently bad at this or that. I find it quite good to write Rust. Can you give a concrete example of what AI failed to write for you
Rust also has exceptions aka panics
I respect your opinion but I wouldn't call Java beautiful (of course it depends on your definition of beautiful). It takes so much ceremony to do things you would do without any thought in other languages .
Initiating a mutable set
Python
`a = {1,2}`
What most Java programmers do
``` var a = new HashSet<>(); a.add(1); a.add(2); ```
Shorter one but requires more ceremony, and hence knowledge of more language semantics
``` var a = new HashSet<>(new Arraylist<>(List.of(1,2)) ```
I don't know if the above works but the Idea is to initiate a list and pass it into a HashSet constructor.
Similarly Java 21 allows you to model union types but doing so requires you to define N+1 classes where N is the number of union cases whereas in other languages it's as simple as `type A = C |D`
1. People who are extremely good technically. They don't have great people skills. They are almost hard to get chummy with. They only respect you if you're as good as them technically or if you belong to the following group 2. People with great personalities, charisma. They are not technically excellent. They are not the people you go to if you want to develop a streaming database. But they have vision, they have a broad view of things and know what to improve, where to work etc. They are not software engineers, more like team leads.
Then there are people who are neither great technically nor have charsima that make people gravitate towards them. People who are just fumbling in mediocrity, wondering if they are in the right place and feeling stuck (like me )