Samuel Schwebel
2018-04-09 14:53:19 UTC
Hi,
Dart is a very nice language. I'm pretty glad to see the revisions that are
occurring in Dart 2.0. This clearly shows that there was learning in the
early years of language and that to grow it is necessary to consider this
learning and to make improvements.
Besides other activities I am also a teacher. And I see that wherever there
are patterns there is the idea that it was well designed and students learn
much more quickly.
A standard nomenclature convention that I understand Dart applies to object
classes, they should *start with a letter uppercase*.
As in one of the last revisions of Dart 2.0, I saw was the revision of the
nomenclature pattern for constants, *eg JSON for json*., I am here as a
suggestion, proposing a revision of names of the core classes, to *follow a
naming pattern for classses*. Here are some examples:
*double* would be *Double*
*num* would be *Num *or *Number*
*int* would be *Int* or *Integer*
*bool* would be *Bool* or *Boolean*
Perhaps the two forms of nomenclature could coexist for some time together,
because of the impact magnitude of this great change.
Anyway, it's the suggestion!
Best Regards,
Samuel.
Dart is a very nice language. I'm pretty glad to see the revisions that are
occurring in Dart 2.0. This clearly shows that there was learning in the
early years of language and that to grow it is necessary to consider this
learning and to make improvements.
Besides other activities I am also a teacher. And I see that wherever there
are patterns there is the idea that it was well designed and students learn
much more quickly.
A standard nomenclature convention that I understand Dart applies to object
classes, they should *start with a letter uppercase*.
As in one of the last revisions of Dart 2.0, I saw was the revision of the
nomenclature pattern for constants, *eg JSON for json*., I am here as a
suggestion, proposing a revision of names of the core classes, to *follow a
naming pattern for classses*. Here are some examples:
*double* would be *Double*
*num* would be *Num *or *Number*
*int* would be *Int* or *Integer*
*bool* would be *Bool* or *Boolean*
Perhaps the two forms of nomenclature could coexist for some time together,
because of the impact magnitude of this great change.
Anyway, it's the suggestion!
Best Regards,
Samuel.
--
For more ways to connect visit https://www.dartlang.org/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/CAHo81rKJdgg87eHsXs-HBGcvAiP%2Bv8Qo0GFPrp6GfKu%3DEcLU7w%40mail.gmail.com.
For more ways to connect visit https://www.dartlang.org/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/CAHo81rKJdgg87eHsXs-HBGcvAiP%2Bv8Qo0GFPrp6GfKu%3DEcLU7w%40mail.gmail.com.