Features and basic rules of YAML
There are some basic rules that you must follow whenever you are writing the YAML, those rules are the following:
- The file must have .yaml as the format or extension while being saved.
- The YAML language is case sensitive.
- The YAML language does not provide you with the ability to use tabs whenever you are creating YAML files but you can however you the spaces instead of tabs.
Whenever you are writing using the YAML language then you must follow these rules mentioned above so that you don’t encounter any errors.
Features of YAML:
As we have already discussed that the YAML provides us with human readable code which is a feature in itself but let’s look at a few features that the YAML language provides which makes it better suited language that it’s competitors:
- It provides us the ability for cross-language portability of data.
- It provides us with a one-pass processing.
- The YAML language can provide a data model that is very consistent.
- YAML language provides us the ease for use as well as implementation of the code.
What Type of Language is YAML?
As we know the world of technology is filled with various modern and old languages which keep changing from time to time, each one of these languages serves a specific purpose and thus each language is used for performing certain tasks only. But when it comes to the programming language called YAML people sometimes get confused because they have trouble understanding what type of programming language YAML is, so in this article, we will understand what type of language the YAML programming language is.