Skip to content

Comment on Problems with default function arguments (2020)parent

Comments

Not a language, but I have seen some recent editor integration with LSP stuff that will visually display that as

        foo(bake: true, batches: 1,  boxes:1, frosting: null, type: “cupcakes”)

Oh that’s helpful. I should look into setting that for TS.

Also frosting can’t be null when type is cupcakes. We found a bug.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.