3 ms·
I love everything about MoonScript except for that damn backslash. I think it's much nicer to use than Lua, but it still bugs me, bikeshedding be damned. The as
by meowface 7y ago
I love everything about MoonScript except for that damn backslash. I think it's much nicer to use than Lua, but it still bugs me, bikeshedding be damned. The asymmetry, the fact that no other language (that I know of) uses it for a similar purpose, just the look of it in between text...
I once came close to trying to create a near-identical fork of the project which changed the backslash to something else, but I figured it'd be pretty pointless. I know I'm definitely not the only one who dislikes it, at least.
- MaxBarraclough 7y agoYou could create a new language that compiles to MoonScript ;-P
- klibertp 7y ago> I know I'm definitely not the only one who dislikes it, at least. You're not. In my fork, I plan to replace `\` with `:` and `:` with `=`, so it's closer to Lua, and less irritating to look at. I need to figure out how to code that while retaining some backward compatibility, but "fixing" this is one of the major goals of my fork.
- nonbirithm 7y agoThe obscure Japan-only language Hot Soup Processor used backslash as mod. http://www.onionsoft.net/hsp/v33/doclib/hspprog.htm#EXPRESSION http://www.onionsoft.net/hsp/v33/doclib/hspprog.htm#EXPRESSI... I also hate it (along with HSP in general). Anything that exists outside the grain of programming language conventions so baked in as basic arithmetic operators throws me off.
- eggy 7y agoBeing a J programmer [1], the order or placement of ASCII characters does not bother me, so I think it's about familiarity, habit and ability to see past the syntax. [1] https://www.jsoftware.com/#/ https://www.jsoftware.com/#/