Comment

Comment by smt88

Some of what you ask for is impossible in a static type system for a Turing-complete language.

If you want it to happen at runtime, you could accomplish something almost exactly as you describe with macros in multiple mainstream languages. Or, as you alluded, just use business logic.

You'd probably enjoy a more declarative language like Haskell, honestly.

parent smt88 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton