Re:Flutter and Dart, or how to quickly build a mobile app wi...
by hopia on Sunday March 01, 2020 @09:51AM
(#22457048)
Dart has some annoying traits that hurt productivity with it. For example, the lack of union types or some kind of sealed classes is fairly annoying when the language is actually statically typed.
There's some work being done to overcome this but so far no solution has seen the daylight in practice.
Re:Flutter and Dart, or how to quickly build a mobile app wi...
by scalatronn on Friday March 06, 2020 @12:16PM
(#22505325)
Relax, it's being speced now, give them time to make non-nullables first.
Re:Flutter and Dart, or how to quickly build a mobile app wi...
by krzat on Sunday March 01, 2020 @05:31AM
(#22456257)
The fun starts when you want to have final field that needs to be calculated in the constructor.
Re:Flutter and Dart, or how to quickly build a mobile app wi...
by filleduchaos on Sunday March 01, 2020 @08:32AM
(#22456772)
So do that in the initializer list?
- that's currently true but in the next release (at least that's what the Dart team have been working on for the past several months) it will have nullable types just like Kotlin.
- That's a strange criticism. Dart has excellent constructor syntax, I don't know a language that is more flexible with constructors.
e.g.
Looks pretty good compared to most other languages?!