- Learning Rust
- Paul Johnson Vesa Kaihlavirta
- 72字
- 2021-07-02 23:07:23
Loops
Rust has essentially three types of loops:
- loop is the simplest one—it just goes through a block of code again and again until one of the loop-breaking keywords is used
- while is like loop, but with a condition—the block of code is looped again and again as long as the condition is true
- for is different from the above two—it is for iterating through sequences
推薦閱讀
- 程序員面試筆試寶典(第3版)
- 觸·心:DT時代的大數據精準營銷
- DevOps with Kubernetes
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Kubernetes實戰
- 算法零基礎一本通(Python版)
- Instant Typeahead.js
- Java程序員面試算法寶典
- 程序員修煉之道:通向務實的最高境界(第2版)
- Learning Apache Mahout Classification
- The Complete Coding Interview Guide in Java
- Java EE企業級應用開發教程(Spring+Spring MVC+MyBatis)
- Visual Studio Code 權威指南
- Qlik Sense? Cookbook
- App Inventor少兒趣味編程動手做