Comments (3)
This really isn't a question for std
and is more appropriate for deonland/deno. The short answer is no, and it never will.
The longer answer is that because Deno has the TypeScript compiler built into it, type safety is checked before any code is run. Then plan for the future is to restore that checking for plain JavaScript files too. So from a developers perspective, it is effectively runtime type safety as the source code that is authored is typed checked. There isn't a logical use case where actual runtime type checking would benefit anyone and would only be a runtime performance overhead.
from deno_std.
thanks @kitsonk
from deno_std.
If all type checking is gone once the code is actually running, wouldn't that still leave possible runtime errors like invalid data received over the network or invalid casting?
from deno_std.
Related Issues (20)
- bug(expect): The function signature of `toMatchObject` is incorrect HOT 1
- `parse` of `std/flags` is not marked deprecated in API doc HOT 1
- todo: cleanup deprecated `Deno.*` APIs HOT 1
- Deno std_assert lacks a method to validate if a native Error object has the same message attribute as another. HOT 3
- Bring back examples folder HOT 2
- Secure Curves in the Web Cryptography API - secp256k1, X25519, X448, Ed25519, Ed448 HOT 6
- Strange behavior of the `assertRejects()` method. HOT 2
- assertSnapshot fails to match carriage return
- expect.toEquals() class instance check different from jest HOT 3
- todo: re-align `warnOnDeprecatedApi()` with runtime
- `io` module is marked deprecated in API doc HOT 2
- Add option to prepend `export ` to dotenv stringify HOT 4
- Command flag for `ParseOptions` HOT 9
- tracking(semver): deprecate `ltr()` and `gtr()`
- suggestion(async): Update `debounce` JSDoc example with `Array.fromAsync`
- Allow passing arguments to std/datetime/format()
- fmt: warn that `dim` function may not work for all terminals HOT 1
- Review auto-generated documentation and fill-in gaps
- semver: `rangeIntersects` ignores the intersection of prerelease versions HOT 9
- http/file_server: add unix socket option HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_std.