Kaushal Modi is a user on mastodon.technology. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

so it looks like, most #haskell code use camelCase normally, but sometimes snake_case. correct?

been obsessing about camelCase vs snake_case for years. still no conclusion. scientifically, by pop, by ease of typing... no conclusion. most existing lang conventions are idiotic. their formation is pretty much historical. Not by any logical basis.

there are a couple of somewhat scientific studies on camelCase vs snake_case on accuracy or speed of recognization. But is inconclusive.
if there is any common practice across languages, it is that, StudCamelCase is usually for class names, while snake_case for variables.

Kaushal Modi @kaushalmodi

@xahlee

Nim is awesome that way; it's style insensitive. You can import a library that has a function awesomeFunction, but use that function as awesome_function in your code.

nim-lang.org/docs/manual.html#

> only the first letters are compared in a case sensitive manner. Other letters are compared case insensitively within the ASCII range and underscores are ignored.