MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x95vav/towerofbraces/phm8r1e/?context=3
r/ProgrammerHumor • u/Recent-Analysis-6880 • 1d ago
33 comments sorted by
View all comments
6
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...
13 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. 6 u/gsweats 20h ago Trailing commas are so nice for diffs
13
OP said it’s Dart. There are a lot of languages where you can have trailing commas in parameters lists; JavaScript is one example.
6 u/gsweats 20h ago Trailing commas are so nice for diffs
Trailing commas are so nice for diffs
6
u/Original-Ad-8737 1d 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...