| ▲ | virtualwhys 4 days ago | |||||||||||||||||||||||||
Big turnoff with Dart is the lack of json (de) serialization -- kind of shocking to have to resort to source code generation libraries in a modern language. Also, statement based instead of expression based, and not immutable by default are kind of a drag; not the end of the world but a bit unpleasant, IMO. | ||||||||||||||||||||||||||
| ▲ | satvikpendem 4 days ago | parent | next [-] | |||||||||||||||||||||||||
Serialization support is coming, probably this year. As for statements vs expressions, it does have some expressions such as if and for inside lists but changing it wholesale to an expression based language would be too much of a breaking change. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | vips7L 3 days ago | parent | prev [-] | |||||||||||||||||||||||||
I thought dart could natively deserialize via dart:convert? It just only decodes to lists and maps, you have to manually map into classes. | ||||||||||||||||||||||||||