logoalt Hacker News

virtualwhys01/04/20262 repliesview on HN

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.


Replies

satvikpendem01/04/2026

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.

show 1 reply
vips7L01/04/2026

I thought dart could natively deserialize via dart:convert? It just only decodes to lists and maps, you have to manually map into classes.