News for hackers. Stuff that matters.
Re:Show HN: ES7 Decorator library adds types checking, memoi... by scotth on Sunday May 31, 2015 @04:02PM (#9635338)
I'd argue this abstraction isn't any higher-level than the function equivalent above. More readable, maybe.
Re:Show HN: ES7 Decorator library adds types checking, memoi... by the8472 on Sunday May 31, 2015 @04:06PM (#9635353)
explicit annotations following a specific syntax can be analyzed by a checker.

you can't really do that (easily) with ad-hoc typecheck wrappers.