253

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

OCaml: https://godbolt.org/z/17oMv83zx

C++: https://godbolt.org/z/9Y3WfoE1W

you are viewing a single comment's thread
view the rest of the comments
[-] Ooops@feddit.org 8 points 1 week ago* (last edited 1 week ago)

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.

[-] Quibblekrust@thelemmy.club 2 points 4 days ago

I think you're confusing two things. In the meme at the top, "curved" brackets means parentheses, not curly brackets.

In American English:

( ) parentheses
{ } braces, curly braces or curly brackets
[ ] square brackets
< > angle brackets

[-] Ooops@feddit.org 1 points 4 days ago* (last edited 4 days ago)

No, I'm not confusing things but directly referencing Wikipedia (and as explicitly mentioned British English):

( ) (round) brackets
[ ] square brackets
{ } curly brackets
<> angle brackets

American English however calls the same:

( ) parentheses
[ ] (square) brackets
{ } (curly) braces
<> angle brackets or chevrons

Yes, that means British an American people are meaning different things when talking about brackets (round vs. square as the default).

So I will repeat myself:

English (at least British English) does in fact the same thing.

round, square, curly and angle brackets...

So given that big chunks of the world learn British English it is probably not just a "German thing" as OP suggested.

[-] Quibblekrust@thelemmy.club 2 points 4 days ago* (last edited 4 days ago)

I guess I wasn't clear, because your reply doesn't address what I was talking about, but it turns out I was simply confused.

You said:

"curly" instead of "curved" brackets

But I didn't think anyone was calling curly brackets curved brackets, so what you said seemed odd. It turns out I didn't read who you replied to closely enough, and the German commenter was indeed saying they're called "curved" brackets (in German).

Then again, perhaps the German person was wrong because DuckDuckGo translate says that word actually does mean "curly" and not "curved".

[-] Chrobin@discuss.tchncs.de 6 points 1 week ago

Honestly much more reasonable than coming up with three different terms.

this post was submitted on 30 Oct 2026
253 points (98.1% liked)

Programmer Humor

33999 readers
183 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS