Design & Theory of Programming - Readability Flashcards

1
Q

Why must a programmer make the program code readable?

A

So that other people can read it and understand it clearly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How could you make a program more readable? (4)

A
  • Use meaningful variable names
  • Use internal commentary
  • Use indentation
  • Use white spaces between sections
How well did you know this?
1
Not at all
2
3
4
5
Perfectly