Better HN
topnewbestaskshowjobs
Log inSign up

cysky

7 karma · joined Jan 12, 2023 (3y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

You can define string enum type with a macro.

https://github.com/crystal-lang/crystal/issues/10281#issueco...

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Crystal lang has both compiler and interpreter.

https://github.com/crystal-lang/crystal