We finally got into something interesting. Not that the previous chapters were less important, but with the tests, we just saw that we are now able to create some conditional statements and let our script react to different situations. It is not just an echo of a variable, but we get to its value, work on it, decide what to do, and act accordingly. In this chapter, we had a quick bite of what flexibility means in a script: it must be a tool and that makes one of the main goals of writing a script: it must be a tool that makes decisions on our behalf and react as we want it to do based on the conditions that we crafted in advance.
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand