Clean Code Flashcards

1
Q

A clean code is understandable in terms of …?

A

READABILITY EXTENSIBILITY AND MAINTAINABILITY

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

What is a technical debt

A

Doing things in a quick and dirty way which results to CODE REWRITING

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

Functions that require zero arguments

A

Niladic

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

Functions that require one argument

A

Monadic

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

DRY RULE

A

Dont repeta yourself \ eliminate duplicates

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

Wet rule

A

Write everything twice / opposite of dry ruke

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

Kiss rule

A

Keep it simple stupid / implementation is simple as possible

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

Boyscout rule

A

Always leave the campground cleaner than you found it

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