Re:Zig-Error-Patterns
by yahoozoo on Wednesday August 06, 2025 @02:49PM
(#44816025)
Cool stuff, but the mixed casings I see here (and have in other Zig code) puts me on edge (not literally but yeah). You’ve got `addSystemCommand` then a variable named `debug_step` which has a call `dependOn`. That said, looks like most of the stdlib stuff is camel case so the snake case variables are just the authors preference.
[ Parent
| on HN ]
The language reference has a section about naming identifiers https://ziglang.org/documentation/0.14.1/#Names