← Back to context

Comment by cpeterso

2 days ago

No shift key needed for square brackets!

Curl was a proprietary Lisp that {curly brackets} and was designed in the 1990s to build web applications.

https://en.wikipedia.org/wiki/Curl_(programming_language)

I've always found OCaml's (* ... *) comments annoying, because it needs shift for both characters. But I suspect it's easier to type on a french keyboard.

Knuth solves the bracket issue by redefining his keymap to swap () with [] and + with = (macos keymap files found at the bottom of this page: https://www-cs-faculty.stanford.edu/~knuth/programs.html )

In high school I tried spec'ing a lang that excluded shift key usage... fun times.