4 ms·
Yeah right, I guess the 100 millions or so French-speaking people don't amount to much. On French keyboards it's ctrl+alt+"<" (which is at the bottom left of th
by norswap 14y ago
Yeah right, I guess the 100 millions or so French-speaking people don't amount to much. On French keyboards it's ctrl+alt+"<" (which is at the bottom left of the keyboard), or, when available "Alt Gr"+"\".
Going out of your way to produce such small and dubious improvement is always a bad idea imho.
If you really think C syntax is a pain point, the sanest thing to do is to go with textual keywords like in ruby or lua.
- eru 14y ago> If you really think C syntax is a pain point, the sanest thing to do is to go with textual keywords like in ruby or lua. Why?
- slowpoke 14y agoKeywords are reasonable easy to type (I'm much faster typing plain text without special characters), simple to auto-complete and read very well. For example, they could have used something like "to" instead of "->", eg: "Hello World" to std.out That's just an idea I had on the spot, not sure how it would play out. But I think this stream programming would actually lend itself well to some sort of literate syntax.
- norswap 14y agoThis is indeed what I meant. Typing "end" is, for me at least, way faster than typing "}". The reason is that "end" does not require modifier keys, and that all the letters are relatively accessible in the middle of the keyboard. (If you don't speedtype, this might not make as much a difference.)
- eru 14y agoThanks for the elaboration. I might even agree about the typing, even though e.g. `end' requires one keypress more than } for me. But I find that punctuation stands out more. From a practical point of view, I prefer reading Haskell's \arguments -> body to Scheme's (lambda (arguments) (body)) because it stands out more. What gives me as the reader an even better hint without getting in the way, is indentation. That's why I prefer that to e.g. curly braces for reading. (Writing, especially in non-programming editors, like a webform, is easier with explicit markers like `end' or } though.)
- chime 14y agoSorry, I'm not the developer. I was just saying that the FAQ explains the choice of backslash, regardless of whether it is sane or not.
- norswap 14y agoI understand that, my reaction was of course towards the developer explanation and not you.