News for hackers. Stuff that matters.
Re:TypeScript Is Surprisingly OK for Compilers by grumblingdev on Friday August 18, 2023 @10:03AM (#37175758)
Interesting, didn't know about single-method-interfaces.

There are lots of singletons in OO. I find it useful to add static metadata (not state) to them, without having to escalate them to a class. I guess Java has decorators for the same purpose. I'd really like decorators for functions in TypeScript though.

There are no comments on this comment yet.