- Mastering Dart
- Sergey Akopkokhyants
- 140字
- 2021-08-05 17:19:19
Chapter 2. Advanced Techniques and Reflection
In this chapter, we will discuss the flexibility and reusability of your code with the help of advanced techniques in Dart. Generic programming is widely useful and is about making your code type-unaware. Using types and generics makes your code safer and allows you to detect bugs early. The debate over errors versus exceptions splits developers into two sides. Which side to choose? It doesn't matter if you know the secret of using both. Annotation is another advanced technique used to decorate existing classes at runtime to change their behavior. Annotations can help reduce the amount of boilerplate code to write your applications. And last but not least, we will open Pandora's box through Mirrors of reflection. In this chapter, we will cover the following topics:
- Generics
- Errors versus exceptions
- Annotations
- Reflection
- 社交網(wǎng)絡(luò)對齊
- EJB 3.1從入門到精通
- Cisco OSPF命令與配置手冊
- Truffle Quick Start Guide
- 異構(gòu)基因共表達(dá)網(wǎng)絡(luò)的分析方法
- 重新定義Spring Cloud實(shí)戰(zhàn)
- 企業(yè)私有云建設(shè)指南
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見:2014年中國互聯(lián)網(wǎng)安全大會文集
- NB-IoT物聯(lián)網(wǎng)技術(shù)解析與案例詳解
- 通信十年:擁抱互聯(lián)網(wǎng)
- 工業(yè)互聯(lián)網(wǎng)創(chuàng)新實(shí)踐
- 網(wǎng)絡(luò)工程實(shí)施技術(shù)與方案大全
- 深入理解Nginx:模塊開發(fā)與架構(gòu)解析
- 物聯(lián)網(wǎng)的機(jī)遇與利用
- 精通SEO:100%網(wǎng)站流量提升密碼