- Learn Type:Driven Development
- Yawar Amin Kamon Ayeva
- 112字
- 2021-07-02 14:41:25
What do you gain?
With regard to the caveats mentioned earlier, what do static type systems actually give you?
- A good type system catches almost all type errors for you before runtime
- It accepts all or almost all programs that do not contain type errors
Being able to catch type errors before runtime is a very nice ability to have. It will help you to avoid possible downtime, expenses, lost business, and so on. Note that we mentioned a good type system. We should try to aim for the best type system we can get at our disposal. Since, Reason is OCaml, it automatically gets OCaml's powerful, safe, and expressive type system.
推薦閱讀
- React Native Cookbook
- aelf區(qū)塊鏈應(yīng)用架構(gòu)指南
- Linux環(huán)境編程:從應(yīng)用到內(nèi)核
- Hands-On C++ Game Animation Programming
- Asynchronous Android Programming(Second Edition)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)踐教程
- 區(qū)塊鏈底層設(shè)計(jì)Java實(shí)戰(zhàn)
- Swift 4 Protocol-Oriented Programming(Third Edition)
- Instant PHP Web Scraping
- Kubernetes進(jìn)階實(shí)戰(zhàn)
- Solutions Architect's Handbook
- Yii2 By Example
- Office VBA開發(fā)經(jīng)典:中級(jí)進(jìn)階卷
- Visual FoxPro程序設(shè)計(jì)
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)