3 ms·
TypeScript doesn’t help disambiguate a poorly named boolean parameter though; it only helps when the expected value is a specific object type, and even then may
by RussianCow 5y ago
TypeScript doesn’t help disambiguate a poorly named boolean parameter though; it only helps when the expected value is a specific object type, and even then may be ambiguous.
- sebringj 5y agotrue but isn't that the case in typed languages?
- RussianCow 5y agoIt's the case in all languages, but I was specifically responding to this: > now it is harder to argue that point in typescript IMO, TypeScript does nothing to change the necessity of the object parameter pattern.