← Back to context

Comment by christophilus

8 days ago

That does look pretty good. I don’t love the mixing of PascalCase / camelCase and snake_case, though.

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.

  • “let data = io.ReadAll(file)?”

    That’s Pascal case any way. Looks sort of camel case with the “io” being lower case.

    • Yes. 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.