1
ytho
4y

Learning Flutter since I've seen it suggested somewhere on here, and therefore I'm having to learn Dart. It just bugs me how it doesn't complain when I leave an extra comma at the end of the constructor parameters

Comments
  • 0
    The extra comma can be used intentionally to make sure the dart formatter doesn't put 20 closing brackets on the same line.

    Yes I know it's disgusting
  • 0
    Haha, i thought it was only me that finds it weird
  • 0
    So many languages don't give a shit about an extra coma or two, whether it's array, object literal, function arguments, ...
Add Comment