What recommended Dart style guide?
- Ending the exception messages with a period
- Not ending the exception messages with a period
- It's a matter of taste
In the Dart SDK I found that some messages (even inside the same error/exception class implementation) used the different styles (with and without a period sign at the end of text message).
Which style should I use?
P.S.
If I correctly understand (according to the implementation of the "dart:core" error classes in the Dart SDK) then I should follow the option #3 (It's a matter of taste).
Here is the link to the same question about C#. Do you end your exception messages with a period?
I ask this question (this is an answer to the Günter Zöchbauer comment) on the Stack Overflow but not on the Dart Issue Tracker because I think that my question and C# question (mentioned above) both are good questions.
They should help in practice write source code (at least error messages) better.