Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pepa65
· 6mo ago · 0 comments
But then the call makes more sense: `describe {role: "admin", name: "alice"};`
Comments
[–]
keepamovin
6mo ago
Precisely! Call sites should be traditional syntax shaped, pos args get [ and ] (trad array), and object shapes get trad obj syntax.