- Learn Type:Driven Development
- Yawar Amin Kamon Ayeva
- 196字
- 2021-07-02 14:41:25
Static types
There are two possible times when type errors can happen: at compile time and at runtime. This is the crucial difference between static and dynamic type systems: static type systems are so called because they statically analyze programs and try to find type errors, while dynamic type systems are so called because they throw type errors dynamically, while they run the program.
A static type system will try to find as many errors as possible without running your program. Normally, this is not a guarantee that you will catch all type errors before runtime. Some errors may slip through the typechecker and still hit you at runtime. Plus, a type system may make it difficult to express a program that you know is correct because it thinks it's not. You will want to pay close attention when this happens, though, as either the typechecker is correct, or your design will benefit from expressing the program in a different, accepted, way.
- Spring Boot開發與測試實戰
- Windows系統管理與服務配置
- TypeScript項目開發實戰
- Linux Device Drivers Development
- INSTANT Passbook App Development for iOS How-to
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(入門與提高篇)
- Windows Phone 7.5:Building Location-aware Applications
- Java Fundamentals
- Java語言程序設計教程
- Python 3 數據分析與機器學習實戰
- Hadoop大數據分析技術
- 遠方:兩位持續創業者的點滴思考
- 大規模語言模型開發基礎與實踐
- Android開發進階實戰:拓展與提升
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)