O'Reilly logo

PhpStorm Cookbook by Ankur Kumar, Mukund Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Surrounding code with control structures

Whatever algorithm you think of, whichever tool you use to design the functional requirements, and whichever planet you go to and use whatever hardware as your development platform, there is this fact that is omnipresent and ubiquitous: loops will follow you everywhere. Control structures are the building blocks of any code you think of. Not convinced? Your PizzaDish use case itself will be able to prove it to you.

Getting ready

You need a computer in the first place to make calculations and decisions and solve complex problems in a diligent manner. Does a computer stop by solving just one problem? No. It is programmed to continue for all possible number of times it has been instructed. How does a program ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required