Hacker News new | ask | show | jobs
by billmcneale 329 days ago
Why is Zig so inconsistent in its syntax?

We see:

    pub fn implBy
Camel case

    (impl_obj: anytype) 
Snake case

    v_setLevel
Mix of camel case and snake case

    anyopaque
whatever that is
1 comments

Function name in camel case. Variable and parameter in snake case.