Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is interesting from a technical point of view, but looking at the Hello World example [0] really makes me wonder... who wants to write code like this? I have been a touch typer for half my life now, but things like

> %% unreachable{};

> main(args: [][]u8) -> %void

really make my fingers and eyes itch.

[0] https://github.com/jmi2k/zig-playground/blob/master/src/hell...



Try that on a nordic keyboard:

  % - SHIFT + 5
  { - ALT + 7
  } - ALT + 0
  ; - SHIFT + ,
  ( - SHIFT + 8
  : - SHIFT + .
  [ - ALT + 8
  ] - ALT + 9
  ) - SHIFT + 9
  > - SHIFT + <
  % - SHIFT + 5
Just for the bit you quoted.



yeah i agree the specific choice of % seems unintuitive, ugly, not great to type, but i love the functionality...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: