Hacker News new | past | comments | ask | show | jobs | submit login

> capitalized top-level identifiers are exported

I saw this and thought that it's just weird and confusing. Why would someone make case-sensitivity a syntax for exports?




One less keyword in the language, and you can tell at the call site whether it's an internal function.


it's also used in erlang and haskell, which happen to also use "_" for "don't care"




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: