4 ms·
Thats just a pragmatic design decision for Go interop, as Go went nuts with public being UpperCase. Theres no camelCase tho? Snake case and PascalCase fir Go
by phplovesong 5mo ago
Thats just a pragmatic design decision for Go interop, as Go went nuts with public being UpperCase.
Theres no camelCase tho? Snake case and PascalCase fir Go modules interrop.
- networked 5mo agoI'll be happy is Lisette succeeds, but I like Soppo (https://github.com/halcyonnouveau/soppo https://github.com/halcyonnouveau/soppo) for staying closer to Go and not introducing this mismatch.
- NetMageSCW 5mo ago“let data = io.ReadAll(file)?” That’s Pascal case any way. Looks sort of camel case with the “io” being lower case.
- phplovesong 5mo agoYes. PascalCase for Go, snake_case for Lisette. I find it quite good actually as i can see what hooks into the Go ecosystem instantly. Ofc you can write your own wrapper, but so far i have not bothered.