4 ms·
op describe {name, role} ( print "user: " + name + " (" + role + ")"; ) Strange choice of brackets usage
by forlorn 5mo ago
op describe {name, role} (
print "user: " + name + " (" + role + ")";
)
Strange choice of brackets usage
- deleted 5mo ago[deleted]
- pepa65 5mo agoBut then the call makes more sense: `describe {role: "admin", name: "alice"};`
- keepamovin 5mo agoPrecisely! Call sites should be traditional syntax shaped, pos args get [ and ] (trad array), and object shapes get trad obj syntax.