540 karma · joined June 30, 2021
A much better solution is to build incentives into the legal system, like tgsovlerkhgsel suggested. The problem isn't that bad actors abuse the system, the problem is that the system allows bad actors to abuse it.
(Yes, this is a political opinion. No, I am not American.)
But thank you for sharing the link that was helpful
Assigning variables or calling methods (when you discard the return value) would look the same as is typical in many languages:
int x = foo(); // foo() returns int but we can see that in what type x is
foo(); // we don't care what foo() returns
Named variables in method calls would have to have the type so as to not hide what type a method-as-parameter returns: CoolObject cool_obj = bar(int arg1: foo())Is Onyx like that? I don't know. It would take me maybe two minutes to look up. The point is I have to look it up to be certain when that certainty could be part of the language.
Take your Java example. If the code in the .java file looked like
HashMap<String, List<int>> hashmap = new HashMap<String, List<int>>();
but IntelliJ showed it to you like hashmap = new HashMap();>
> x := 10
I...
Why is this a feature in every new language? Can't we have a language that is more verbose and explicit, not less? I'd love it if named parameters were mandatory, not optional.
(Named parameters is when you name parameters/arguments you pass on to functions, like you can do in python and groovy: `foobar(arg1: 123, arg2: 'hello')`)
Most of my problems I run into is due to implicit behaviour that no one bothers to explain. In Onyx here, having type-inference means I now how to remember that x := 10 means x will be a signed 32-bit integer instead of, you know, the code that I'm writing remembering it for me.
And I'm just guessing here. Maybe x is a double. Or unsigned since its initial value isn't negative. Or maybe it was signed 32-bit integer but the Onyx developers changed it to 128-bit long long for version 666.0.0. The point is I have to look this stuff up or remember it instead of, you know, it being right there.
I don't even know what you gain by doing this. Less code is less messy but also hides a lot of information from you. Hiding information should be something an IDE does, not the language itself.
Thank you for reading my rant.
I'm just joking. This is just a pet peeve of mine. Thank you for the fun lesson in etymology.
'Et' is Latin for 'and'. The term means "and other things", not "andotherthings".
No, I have nothing important to add to the ZFS discussion.
The one thing you will need to do occasionally is experiment with different Wine distributions. This means you will need to right click on your game and select the distribution from a drop-down box. Exhausting, I know.