-13 karma · joined Nov 20, 2020 (6y ago) · 66 submissions
comment 5y ago · link · parent
the internals of the OS are also problematic
on top of that UWP/XAML story is not really that good when you compare to SwiftUI on macOS
the whole macOS experience is what they should AIM for
but that means giving up on all the legacy bits that keep stacking up since forever..
Windows need a massive spring cleanup, i'd say a reboot, but i'm not sure the people are microsoft are this courageous, i have the feeling they are just lazy
comment 5y ago · link · parent
```
std.debug.print("hello world!\n", .{});
```that kind of extra typing is what turn me off to be very honest, other than that, zig seems like C and Swift had a baby, pretty nice
another thing:
```
const LikeAnObject = struct{
value: i32,
fn print(self: *LikeAnObject) void {
std.debug.print("value: {}\n", .{self.value});
}
};```
Why don't make the self: *LikeAnObject implicit?
Again, this focus on extra typing only just add noise in my opinion, function is already wrapped inside the struct, i feel like it HAS to be implicit
-- EDIT --
One last thing:
```
for (array) | value | {
std.debug.print("array {}\n", .{value});
}
```Not a fan of the | | syntax, it doesn't feel natural
```
for (value in array)
```Here it is pretty clear what it does
-- EDIT 2 --
```
const std = @import("std");
std.debug.print("hello\n", .{});
```
is import the right word here? feels like it should be ``use`` since you'll use them this way: ``std.debug.print``
``import`` would be to make all the types directly visible and use this way: ``debug.print``
comment 5y ago · link · parent
people mad at bitcoin are the jealous people who didn't buy when it was only just $30
it's fine, you missed an opportunity
NOW, what's bad about bitcoin is just what's bad about our society
You can make money from nothing, you don't even need to work, we reward the wrong people with a better life
While the normies have to break their back at work to make sure they can feed their kids and pay the bills, that's stressful
2021, hopefully the year of the big collapse, and a healthly reset
comment 5y ago · link · parent
So we can optimize farming, cultivation and stocks of food, reduce waste by insane amount and make sure everyone has a healthy diet, no matter his income range
Or better, globalize and generalize powdered meals (a la Soylent)