- Rust Programming Cookbook
- Claus Matzinger
- 72字
- 2021-06-24 12:27:45
Testing your documentation
Out-of-date documentation and examples that aren't working as promised are an unfortunate truth of many technologies. However, these examples can be valuable (black box) regression tests to make sure that we didn't break anything while improving the code, so how can they be used as such? Rust's documentation strings (///) can include executable code snippets—and they can be seen all over the place on https://www.rust-lang.org/learn!
推薦閱讀
- 大話PLC(輕松動(dòng)漫版)
- Web程序設(shè)計(jì)及應(yīng)用
- 零基礎(chǔ)學(xué)MQL:基于EA的自動(dòng)化交易編程
- Node.js全程實(shí)例
- Visual Basic程序設(shè)計(jì)
- Unity 2D Game Development Cookbook
- Tableau 10 Bootcamp
- D3.js By Example
- Fast Data Processing with Spark(Second Edition)
- Python預(yù)測(cè)分析實(shí)戰(zhàn)
- Java EE項(xiàng)目應(yīng)用開發(fā)
- 高質(zhì)量程序設(shè)計(jì)指南:C++/C語(yǔ)言
- SQL Server 2014 Development Essentials
- LiveCode Mobile Development Hotshot
- 軟件測(cè)試實(shí)驗(yàn)實(shí)訓(xùn)指南