Logo

Programming-Idioms

History of Idiom 50 > diff from v49 to v50

Edit summary for version 50 by ancarda:
[PHP] Format code snippet to PSR-12

Version 49

2019-09-26, 21:48:51

Version 50

2019-09-26, 22:12:58

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Code
while (true) {
    // do something
    }
Code
while (true) {
    // do something
}