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
[-] Wirlocke@lemmy.blahaj.zone 4 points 6 days ago

Weird opinion: I like square brackets, angle brackets are neat, curly braces range from neat to ok.

But I just don't like the look of parentheses compared to the others. They especially look ugly and clunky when you need a bunch of them in a row, in a way that's not true for the others.

I can't think of a reason why I feel this way apart from the fact they tend to be very clunky in math too. They're also the ugliest one when handwritten despite being the arguably simplest shape.

All that said it annoys me how parentheses are the most used bracket type in programming.

[-] Digit@lemmy.today 0 points 1 day ago

A change of font can ease the "ugly and clunky" a bit, on shallow aesthetic level at least. Rainbow delimiters too. There be ways to put lipstick on that pig.

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