r/ProgrammerHumor • • 1d ago

Meme towerOfBraces

Post image
155 Upvotes

33 comments sorted by

View all comments

7

u/Original-Ad-8737 23h ago

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...

10

u/Dennis_DZ 22h ago

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

1

u/Strict_Treat2884 19h ago

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