Comment on Show HN: ES7 Decorator library adds types checking, memoization, and more to JSparentComments−scotth11yI'd argue this abstraction isn't any higher-level than the function equivalent above. More readable, maybe.−the847211yexplicit annotations following a specific syntax can be analyzed by a checker.you can't really do that (easily) with ad-hoc typecheck wrappers.
Comments
I'd argue this abstraction isn't any higher-level than the function equivalent above. More readable, maybe.
explicit annotations following a specific syntax can be analyzed by a checker.
you can't really do that (easily) with ad-hoc typecheck wrappers.