fir-lang / fir

MIT License
23 stars 3 forks source link

Single character comment syntax? #5

Closed osa1 closed 2 months ago

osa1 commented 2 months ago

I like how -- looks, but a single character like # (as in Python) or ; (as in Scheme and other Lisps) would be more concise.

osa1 commented 2 months ago

I "asked around" (i.e. asked to chat bot) and then verified myself, apparently # is the most common single-line comment syntax. Some of the languages that use single #: (ignoring shells)

Languages that use %:

I think we have a winner?

osa1 commented 2 months ago

We've switched to # a while ago.