Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zigger69
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
zigger69
4y ago
> Also: operator overloading is the spawn of Satan. It is. And I'm glad Zig has none of that. `==` only works for primitives and you will never be confused.
2.
▲
by
zigger69
4y ago
> I do think on a long enough timescale, programmers will eventually move to a "better" language. But in my opinion, that time scale exceeds the lifespan of a human :) Zig exists and is here today.
3.
▲
by
zigger69
4y ago
Wow, that's amazing! I agree so much. When I want to know which of two products is better, I just want to see a casual reddit discussion with real people stating their opinions and knowledge. Discussions seems like a great feature! Bra
4.
▲
by
zigger69
4y ago
You can execute arbitrary code on drop operations by implementing `std::ops::Drop` for a type.
5.
▲
by
zigger69
4y ago
It's really easy in Zig to be honest. Just put `defer thing.deinit()` in the right scope and you're done. You gain explicitness and know exactly what's going on in your Code. Everything is obvious. That's the reason Zig
6.
▲
by
zigger69
4y ago
Crystal: compilation speed is just too slow, sadly. Nim and Zig: I'd definitely just go with Zig. It's an extremely simple language, has no macros (but something much better than macros), is explicit, and in the long run it's