4 ms·
Zig is a very well thought out, pragmatic language. I really want to use it more, but I cannot get past the syntax. For example, method chaining: std.fs.
by galois198 6y ago
Zig is a very well thought out, pragmatic language.
I really want to use it more, but I cannot get past the syntax.
For example, method chaining:
std.fs.cwd().openFile("does_not_exist/foo.txt", .{})
The aesthetic of a language is really important to me, and method chaining that allows for lines like this somehow doesn't feel right.
- dinglejungle 6y agoAre you saying that the given example should be disallowed?