2,724 karma · joined May 30, 2016
Scala has been declining steadily for a decade now, and Scala 3 is going to precipitate this state of affairs by splitting the shrinking community even further.
Kotlin, on the other hand, has done nothing but grow for the past five years, no doubt helped by Google's formidable support for it. I just took a quick look at one of its Slack channels, "getting-started", and it has over 38,000 people on it. And that's just one channel among dozens more.
I don't think Java's latest additions are anywhere near threatening Kotlin's rise to dominance since Java is moving at a very slow pace, by design, while Kotlin supports some features and design directions that will never happen in Java.
You are basically giving precedence to text edition over code edition. When you use an IDE, you are editing code, not text, and that IDE's key bindings are optimized for that purpose.
I suggest you take the time to learn native key bindings to whatever tool you picked and see where that gets you, you'll be surprised after a few weeks.
Besides, breaking structures in smaller structures this way can lead to code that's much harder to follow, refactor, and maintain.
Also, this doesn't help at all for function invocation, which is still very cumbersome in Rust in the absence of default parameters, named parameters, and overloading.
In Rust, you need to come up with a new function for each combination of parameters you want.
More details about this and what else is lacking in Rust compared to Kotlin:
https://medium.com/@cedricbeust/what-rust-could-learn-from-k...
Basically, they pretty much all agree which languages are the top 3, top 5, top 10, etc...
More modern editors (e.g. VS Code) and modern IDE's (e.g. IDEA, CLion, Visual Studio) make either indenting absolutely trivial.
Linux on the desktop has always been a joke, but it's even more irrelevant now. You run Windows as your main development OS and when you're ready to deploy your app to Linux, you launch WSL or run a CI/CD pipeline.
But there is now zero reason to ever run Linux as the main OS on your desktop.
If anything, WSL is making Linux more irrelevant as a development environment, and Windows 11 is going to take this to the next level (take a look at Hanselman's demo video [1]).
Yes, production runs in majority on Linux but development happens massively on Windows. With macOS a distant second and Linux barely used as desktops.
Just like putting on a seat belt is a pain.
Both are pains that are worth having because they help you create robust software.
The ways in which a function can fail should absolutely be part of its signature, and if these are recoverable, the compiler should refuse to build until you either handle these errors or pass them on to the caller.
"We don't support named parameters, therefore, create an enum whenever a boolean would have been enough with proper support of named parameters".
I think this is unsound reasoning, but regardless of whether you agree with this or not, the idea of creating an enum for every boolean that gets passed to a function sounds pretty crazy to me.
If you have named parameters, you just don't need to create an enum whenever you are passing a boolean to a function.
Would you say then that you think it's more important for you to feel better than to believe true things?
> Without a religious structure, life has no set purpose.
Life has the purpose that you give it, there is no need for religion or deities for it.
I feel empowered by the fact that I give my life the meaning that I want, as opposed to that purpose being imposed on me by some supernatural deity whose existence has never been demonstrated.
And you know what? Even if at some point, the existence of such a deity is demonstrated, I will still choose to give my life my own purpose.
I don't like abortion. Nobody likes abortions. Women who feel that they need to get an abortion don't like it either. It's a horrible, traumatic procedure.
But it's a reality that it needs to be legal, regulated, and safe.
It's absolutely critical to civilization that women have a choice to undergo an abortion if they choose to. It's their body, their life, their future. Nobody else's business, especially not the government's.
The government should never require them to carry a pregnancy to term in much the same way that it shouldn't force you to give an organ (and it doesn't).
I am not pro abortion, I am pro choice.
People opposed to abortions are not pro life, they are anti choice.
This is whataboutism to an absurd degree.
"Yeah, religion is not perfect, but atheism is not perfect either, so they're both on par".
No, they're not.
> and I don't see any evidence that people who abandon religion automatically become more rational.
They just abandoned an irrational belief, so by definition, they are immediately more rational.
We feel a natural need to help other people because we hope that other people would help us if we needed it to.
"Today, you. Tomorrow me".
We hold the door to strangers, help them carry stuff, or pick them up they have a flat tire, and none of that requires the existence of a vengeful god who will send us into a lake of eternal fire if we don't comply to his wishes. We help each other because we are a social species.
We do it because most people on this planet are good people who want to be happy and who want people around them to be happy.
Religion and gods are unnecessary for any of this.
Nobody is forcing anyone to attend public school. Send your kids to a private school if you want.
But if you want to benefit from what public schools have to offer, you have to abide by their rules. And one of them is that expression of religion is banned there.
In much the same way that a guest to your house would have to abide by your rules.
Atheists do good because it's the right thing to do. You seem to do it because you are afraid of getting punished.
The bottom line is that all displays of religion are banned in French schools, which puts everyone on an equal footing. Even religious people should see the value of that, especially if you're part of a minority religion.
Schools are places where you learn, not practice religion. That's what places of worship are for.
https://www.theguardian.com/world/2013/jul/25/insulting-fren...
I still don't see the hypocrisy you speak of, though. France is a reasonably religious country overall but extremely secular when it comes to school and politics. The edicts you describe simply enforce these principles (e.g. "No religious symbols allowed in school, be it a cross, a star of David, a hijab, etc...").
Evolution is a fact. It has been demonstrated over and over again, is observable, and has predicative powers.
Religion has none of these things, and your particular religion is well known for being absolutely traumatic for people who follow it and even more so for people who leave it.
I challenge anyone who disagrees to come up with a benefit that religion offers that cannot be offered by a secular organization.
To go even further: to a photon's perspective, it is able to teleport instantly anywhere in the universe, because time doesn't elapse for it.
It his, it just depends on the observer.
An external, stationary observer will never see you go further than 100 light years, but yourself? Assuming you are able to make your ship go any arbitrary speed approaching c, you could be traveling billions of light years.
It's just that when you stop (if you manage to stop), the universe around you will have aged billions of years, while you will only be a few years older.