Hacker News new | ask | show | jobs
by Jtsummers 96 days ago
It's pretty much the same number of bracket-type characters as other languages, and both () and {} require the use of the shift key. Only counting the parentheses and curly braces:

  (defun hello (name)
    (format t "Hello, ~A!" name)) ;; 6 parens, 6 shift keys

  def hello(name):
    print(f"Hello, {name}") # 4 parens, 2 curlies, 6 shift keys

  void hello(char* name) {
    printf("Hello, %s\n", name);
  } // 4 parens, 2 curlies, 6 shift keys
No real difference for typing.