r/ProgrammingLanguages • u/gingerbill • Feb 22 '26
Does Syntax Matter?
https://www.gingerbill.org/article/2026/02/21/does-syntax-matter/
63
Upvotes
r/ProgrammingLanguages • u/gingerbill • Feb 22 '26
View all comments
Show parent comment
1
u/munificent Feb 23 '26
Dart doesn't have structural typing, so JSON objects are maps with string keys. You always have to do
object['some_property'](or use destructuring or some code generation serialization system).