4 ms·
Yes! F# scripts Some features: - open-source - cross-platform - quick editing with syntax highlighting, type annotations etc. in VS Code - run in a single
by pharmakom 4y ago
Yes! F# scripts
Some features:
- open-source
- cross-platform
- quick editing with syntax highlighting, type annotations etc. in VS Code
- run in a single command (‘dotnet fsi script.fsx’)
- type-safe but with global type inference
- grab dependencies using directives in the script (no project manifests or global dependencies)
The added safety of a typed language is fantastic for scripting because it’s not worth writing tests for most scripts.