cysky·3 年前·議論You can define string enum type with a macro.https://github.com/crystal-lang/crystal/issues/10281#issueco...
cysky·3 年前·議論Interesting, a lot of new languages are dynamic languages with types.You should try crystal lang if you love writing ruby code.crystal lang has both interpreter and compiler, so that you can debug with interpreter during development and run compiled binary in production.
https://github.com/crystal-lang/crystal/issues/10281#issueco...