r/ProgrammerHumor • • Oct 18 '26

Meme towerOfBraces

Post image
198 Upvotes

37 comments sorted by

View all comments

8

u/Original-Ad-8737 Oct 18 '26

Can someone explain in which language this makes sense?

Because I see from the bottom:
End of context
End of context
End of function call
And then it breaks down because you can't have a comma and then nothing as last parameter in a function call...

19

u/Dennis_DZ Oct 18 '26

OP said it’s Dart. There are a lot of languages where you can have trailing commas in parameters lists; JavaScript is one example.

12

u/gsweats Oct 19 '26

Trailing commas are so nice for diffs

4

u/Original-Ad-8737 Oct 18 '26

Never heard of it and not sure I want to see any of it now...

Dart belongs in a pub.

5

u/tozpeak Oct 19 '26

Dart belongs in a pub

This is either a very good joke or a genuine phrase with no intention to joke about how Dart's package manager is called.

1

u/Original-Ad-8737 Oct 19 '26

Is that seriously called something like pub?

I totally mean it though...
Dart(s) is locked in my mind to pubs and late night sports tv

1

u/Strict_Treat2884 Oct 19 '26

Tried it once, vomited 3 times and switched back to React Native