空視野 範圍 Posted on 2024-12-10 In CleanCode Views: Disqus: Symbols count in article: 143 Reading time ≈ 1 mins.空視野 範圍空視野 範圍空視野 範圍while或for迴圈裡的程式區塊是空白的,如下所示。這類的結構不太好,應試著避免產生此類狀況。當無法避免時,應確保空白區塊也被適當的縮排,並用大括號將之刮起來。while (dis.read(buf, 0, readBufferSize) != -1);