3 ms·
Hey I got an idea, let's ignore a better solution like Closure.spec's runtime type checking. Its even like "functional", you can turn it on or off at will, it
by steen_hansen 4y ago
Hey I got an idea, let's ignore a better solution like Closure.spec's runtime type checking.
Its even like "functional", you can turn it on or off at will, it can even do regular expression tests to validate string parameters.
I partially copied it for Javascript, https://www.npmjs.com/package/type-czech https://www.npmjs.com/package/type-czech, it even runs in JsFiddle
https://jsfiddle.net/steen_hansen/1Lshcept/?Example-Contents https://jsfiddle.net/steen_hansen/1Lshcept/?Example-Contents
- Existenceblinks 4y agoOr make Webassembly text extensible then we could have something like https://github.com/carp-lang/Carp/blob/master/docs/LanguageGuide.md https://github.com/carp-lang/Carp/blob/master/docs/LanguageG...
- Matheus28 4y agoThat sounds awfully inefficient