Are there any languages that do not have positional arguments at all and they’re always keyword arguments?
My pet peeve is reading code and trying to reason about
foo(true, 1, 1, null, “cupcakes”)My pet peeve is reading code and trying to reason about
foo(true, 1, 1, null, “cupcakes”) foo(bake: true, batches: 1, boxes:1, frosting: null, type: “cupcakes”)Also frosting can’t be null when type is cupcakes. We found a bug.