Re:Bio – experimental Lisp dialect, written in Zig
by zelphirkalt on Sunday July 14, 2024 @02:46PM
(#40962559)
Brackets? That's easy! Just use parentheses instead!
I guess you mean parentheses. Perhaps I am unaware of some meaning of brackets, that also describes parentheses, but afaik parentheses are different from brackets.
[ Parent
| on HN ]
Re:Bio – experimental Lisp dialect, written in Zig
by dasyatidprime on Sunday July 14, 2024 @03:21PM
(#40962692)
UK English mostly treats unadorned “bracket” as referring to (), in fact, as opposed to US English which more often treats it as referring to [].
Re:Bio – experimental Lisp dialect, written in Zig
by para_parolu on Sunday July 14, 2024 @11:23PM
(#40965023)
In Russian words parentheses, brackets and braces are represented by the same word with modifier (round, square, figure, etc)
I always have problem when speaking English because can’t remember which one is which.
Re:Bio – experimental Lisp dialect, written in Zig
by zem on Monday July 15, 2024 @05:40AM
(#40966419)
in commonwealth english () are "brackets" and everything else gets the shape modifier
Re:Bio – experimental Lisp dialect, written in Zig
by zelphirkalt on Thursday July 18, 2024 @09:24AM
(#40995342)
In German the same happens:
"runde Klammern" for (), "eckige Klammern" for [], and "geschweifte Klammern" for {}.
Although when you say only "Klammern" people usually understand (), because that is what is often used in texts.
This translates well:
runde Klammern --> parentheses, eckige Klammern --> brackets, geschweifte Klammern --> braces.
As such, the US English understanding of the words is clearer to me, than a non-distinguishing understanding.