- 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.
- Python快樂編程:人工智能深度學習基礎
- TypeScript入門與實戰
- Swift 3 New Features
- 網店設計看這本就夠了
- 匯編語言程序設計(第3版)
- Hands-On Automation Testing with Java for Beginners
- 高級語言程序設計(C語言版):基于計算思維能力培養
- Keras深度學習實戰
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- 圖數據庫實戰
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎卷)
- Regression Analysis with Python
- Django實戰:Python Web典型模塊與項目開發
- Vue.js光速入門及企業項目開發實戰
- Mastering VMware Horizon 7(Second Edition)