Re:Types will be part of Ruby 3 stdlib source
by boffinism on Friday April 19, 2019 @04:52AM
(#19698015)
No, types can be at compile level. They can also be checked without compiling any time you like. Or automatically. By an IDE, for example.
[ Parent
| on HN ]
Re:Types will be part of Ruby 3 stdlib source
by gmueckl on Friday April 19, 2019 @05:46AM
(#19698186)
Almost all good IDEs are essentially interactive compilers. The lines have blurred during the last two decades. For example, QtCreator and XCode use clang to provide code annotations in the editor. Eclipse is built around ECJ, its own Java compiler, which exists mostly to provide information back to the editor and refactoring tools (the editor maintains a complete bidirectional mapping between code as text and code as AST at all times). Code generation is almost only a byproduct there.