A Tour of Go Forever

If you omit the loop condition it loops forever, so an infinite loop is compactly(简洁地;紧密地;细密地) expressed.

 

package main 

func main() {
    for {
        
    }
}

 

posted @ 2014-10-26 22:49  wuhn  阅读(107)  评论(0编辑  收藏  举报