3 ms·
That's what I mean with you having developed a bias and no longer being aware of it [no insult intended] ;) If you know the concept in that language and its nam
by ephaeton 4y ago
That's what I mean with you having developed a bias and no longer being aware of it [no insult intended] ;) If you know the concept in that language and its name-tag, then it's no longer confusing, just as lisp macros aren't anymore once you grokked them. As a language in development, I would hope the on-boarding process from people with a different background would be designed to be as smooth as possible. IMO, someone coming from a different, popular systems programming language will probably have quite a different expectation what "inline" means - I know I do. Maybe finding an alias/new name for "inline" here can be considered before a "1.0".
- kristoff_it 4y agoSure, I don't mean to claim that what inline does is self-evident. This article was really meant for people in the Zig community and in some sense it's unfortunate it reached the front page of HN. > Maybe finding an alias/new name for "inline" here can be considered before a "1.0". I would be on board with that, yes.
- stephc_int13 4y agoThe Zig syntax has been drifting for some time and it is not in a good place. I am afraid that the designers are blind to it because they are using it every day. I am also afraid that once a lot of code and libraries are written, it will be difficult / impossible to change the syntax, it might already be too late. I love Zig but the syntax quirks might considerably slow its adoption.
- int_19h 4y agoI don't think this is Zig-specific terminology, though. For example, F# has something similar for functions: https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/functions/inline-functions https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...