coding style

HideShow resource information
Comments
help other humans understand your code. Useful if you have to come back to your code months later.
1 of 5
Meaningful identifier names
Short identifiers make code quicker to write but much harder to understand
2 of 5
Conventions
Because we cannot use spaces in identifiers, you need to decide what convention you will use
3 of 5
Indentation
Blocks should be indented so to make you code easier to read and understand
4 of 5
Constants
Declaring constants can make your code easier for humans to understand
5 of 5

Other cards in this set

Card 2

Front

Short identifiers make code quicker to write but much harder to understand

Back

Meaningful identifier names

Card 3

Front

Because we cannot use spaces in identifiers, you need to decide what convention you will use

Back

Preview of the back of card 3

Card 4

Front

Blocks should be indented so to make you code easier to read and understand

Back

Preview of the back of card 4

Card 5

Front

Declaring constants can make your code easier for humans to understand

Back

Preview of the back of card 5

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Fundamentals of computer systems resources »