Who else hates capitalized string type in Dart?

Dart is not the first language with that mistake, but it’s newer. It shouldn’t have repeated this mistake.

2 Likes

What do you mean @DevotionGeo - do you have an example?

I also added the ‘rant’ tag to your thread (have a look at what it looks like on the frontpage :laughing:)

2 Likes

I love the icon for ‘rant’! :slight_smile:

For example the following:
Screenshot from 2020-07-29 23-11-41
Look at the capital S in string (type).

2 Likes

I’ve asked a friend about this on Twitter (who is a Google Developer Expert for Flutter) and this is what he had to say:

4 Likes

As does Scala: every type is capitalized.

3 Likes

Inheriting mistakes from other languages is so common. Null is a classic example of languages inheriting the mistake all the way back from Algol that even the creator of it admitted was his biggest mistake.

4 Likes

Me …

3 Likes

I never used Dart, but I dislike inconsistency, so I’d hate typing String instead of string if everything else is lowercase.

4 Likes

The Twitter thread got a response from Vyacheslav Egorov, who is leading the Dart “ahead of time”- and “just in time”-compilation development at google.

4 Likes