YAML syntax
In this exercise, you will learn how the YAML syntax employs indentation to represent a clear hierarchical structure for an array of prerequisites within a course context. Indentation visually communicates the relationship between the course and its prerequisites, making the code easier to understand and maintain.
By using block style for the array, you will also learn how each prerequisite is clearly separated. The block style allows for a clean representation of complex arrays, making it ideal for long or multiline content. Employing indentation and block style enhances code legibility and fosters better comprehension and management of structured data in YAML.
This exercise is part of the course
CI/CD for Machine Learning
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
