3 ms·
Huh. I really enjoy Dart and found a lot of it very elegant. What about it did you not like?
by cweagans 5y ago
Huh. I really enjoy Dart and found a lot of it very elegant. What about it did you not like?
- abelsm 5y agoyes, we've been writing a lot of Dart over the last couple of years and also enjoy it quite a lot. interested in hearing what issues GP faced.
- jmnicolas 5y agoOf course it's highly subjective but here are a few examples: There's too much syntactic sugar for my taste to the point it gets diabetic. Callable classes really? For example you can write MyClass()(); Underscore to mark a variable or a function private, but you can still use an underscore to declare a variable inside a function so it muddles the comprehension. Are we going to lose some precious milliseconds if we have to write private in front of a variable? There's also the need to use buildrunner for almost everything since the language wasn't thought out for modern use cases. It works, but this is very inelegant IMHO. When I peak at the generated code I don't feel fluent in Dart quite the opposite. Then there's the ultra strict linter that won't let me add an empty new line where I want. The resulting code is very compact and is harder to read.