3 ms·
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 ha
by kennell 10y ago
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/hello_world.zig https://github.com/jmi2k/zig-playground/blob/master/src/hell...
- abricot 10y agoTry 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.
- dilap 10y agoyeah i agree the specific choice of % seems unintuitive, ugly, not great to type, but i love the functionality...
- codygman 10y agohttps://github.com/andrewrk/zig/issues/176 https://github.com/andrewrk/zig/issues/176