3 ms·
I see Go-ish syntax in some of the examples but I also see underscore_case being used (instead of camelCase) Does V encourage one or the other? (coming from a
by forhadahmed 8y ago
I see Go-ish syntax in some of the examples but I also see underscore_case being used (instead of camelCase)
Does V encourage one or the other? (coming from a C background, I prefer underscore_case)
Does V have Go's funny "uppercase export" rule? Only identifiers that start with an uppercase letter are exported from a module?
- amedvednikov 8y agoV is very strict. There's only one style. Using anything other than the underscore case is a compilation error. It doesn't have the uppercase export rule. It's going to be either Rust's `pub` or Oberon's `*` or `+`, haven't decided yet.
- rafaelvasco 8y agoYes, snake_case is the superior naming system imo. Only problem is that each underline required two keysrokes. Maybe using keyboard macro or something would help.