Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Are you saying that the given example should be disallowed?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: