4 ms·
Another language that comes to mind is Groovy. Types are optional, but when used, they are checked at runtime, or compile time with `@TypeChecked` or `@CompileS
by brabel 5y ago
Another language that comes to mind is Groovy.
Types are optional, but when used, they are checked at runtime, or compile time with `@TypeChecked` or `@CompileStatic`.
- gregopet 5y agoGroovy is absolutely phenomenal for scripting. Optionally typed, has the entire Java ecosystem of libraries available (with no extra download or build files neccessary), very good IDE support, mature, extremely rich common library, great performance. I've built entire prototypes in Groovy at amazing speeds and then gradually replaced individual files with Java/Kotlin code and made sure the entire thing still worked. When I had grabbed everything of value I copied the resulting Java/Kotlin files to the real codebase and deleted the prototype. I could've left them in Groovy, too, as it is quite performant enough, alas customers preferred Java/Kotlin.