Mapa mental
Programming style
Conteúdo do mapa
Programming style
concept
- is a term that describes conventions for writing
- source code in certain programming languages.
- is a term that describes conventions for writing
K & R style
- It is about opening the key in the same statement line of the order,
- indenting the following steps at the same level as the key and closing
- the key at the same level as the statement
- indenting the following steps at the same level as the key and closing
- advantages and disadvantages
- is that the opening key does not requires an extra line and completion
- key is aligned conceptually to the conceptual statement to which it belongs
- this style is that the final key of a block takes an enterf line,
- which could be partially resolved in the if / else and do / while blocks
- is that the opening key does not requires an extra line and completion
- It is about opening the key in the same statement line of the order,
Allman style
- Is about create a new line for the keys,
- and devise the code below of them
- advantages and disadvantages
- is that the indentation of the code clearly differentiates
- the instructions of a block with the conditional statement.
- each key completion occupies a whole line without adding any code
- is that the indentation of the code clearly differentiates
- Is about create a new line for the keys,
Kernel Normal Form
- It is the way most used for the software distribution code
- of the Berkeley operating system.
- It is the way most used for the software distribution code
Wishart style
- This style puts the key that followsed in the next line.
- the declaration of a block is made indent
- advantages and disadvantages
- the blocks are clearly separated from the control instruction
- it could be that the keys they occupy an entire line.
- This style puts the key that followsed in the next line.
Informações
- Descrição
- Mapa Mental sobre Programming style, criado por Cristian Hernandez em 10-12-2017.
- Criado por
- Cristian Hernandez
- Visualizações
- 0
- Avaliação