With a bit of fiddeling you can use every kind of bracket to basically make function calls in c++
Here are the links to the snippets, all compile and run
Rust: https://godbolt.org/z/bM3d7bG14
With a bit of fiddeling you can use every kind of bracket to basically make function calls in c++
Here are the links to the snippets, all compile and run
Rust: https://godbolt.org/z/bM3d7bG14
I have honestly never seen parentheses called “round brackets” before. It totally makes sense, I have no idea why it’s not used more often.
Might be a German thing. For us, they are all “Klammern” and we call them either round (rund), angular (eckig) or curved (geschweift).
If Wikipedia is to be believed English (at least British English) does in fact the same thing. Although it’s “curly” instead of “curved” brackets.
Honestly much more reasonable than coming up with three different terms.
I wasn’t sure which word to use so wikipedia to the rescue https://en.wikipedia.org/wiki/Bracket
“round brackets” sounds pretty hilarious