News for hackers. Stuff that matters.
Re:More powerful Go execution traces by badrequest on Thursday March 14, 2024 @10:29PM (#39711478)
There's nothing about the Go compiler that enforces any case standard. I can't imagine a more trivial hill to die on.
Re:More powerful Go execution traces by semiquaver on Thursday March 14, 2024 @10:55PM (#39711611)
Nitpicking, but Go is one of the only languages I’m aware of where identifier case is semantically relevant (to determine visibility). Given that fact it’s hard to say “nothing” enforces a case standard.
Re:More powerful Go execution traces by rob74 on Friday March 15, 2024 @03:34AM (#39712967)
Adding to that, the compiler doesn't enforce using "mixed caps", as the documentations calls it, but it's strongly recommended (https://go.dev/doc/effective_go#mixed-caps)
Re:More powerful Go execution traces by dezgeg on Friday March 15, 2024 @05:51AM (#39713797)
Haskell enforces that types and type constructors start with Uppercase, and that everything else starts with lowercase.
Re:More powerful Go execution traces by akira2501 on Thursday March 14, 2024 @11:02PM (#39711646)
> I can't imagine a more trivial hill to die on.

I can't imagine why this attitude pervades on hacker news. I can't imagine a more trivial reason than yours to make a reply.

I guess some people see this as a place to discover differences, and others see it as a place to enforce blind conformity to the current fad.