WorksheetsE-Day 5.1 - Best Practices quiz
Total questions: 7
Worksheet time: 80secs
Which of these code snippets is the most readable, according to the coding style conventions that we recommend here?
Let's say you wrote a method that animated a Superman flying across the screen. Which would be the best comment to put at the top?
/** Superman **/
/** This method is really good. It will fly the superman **/
/** This method animates superman across the screen. The speed is controlled by variable at top **/
Clean code ____
makes business happy
is every developer's dream
is easy to understand and easy to change
makes application unique
The process of separating modules is called ________.
rigidity
decoupling
immobility
breaking
You should write tests because
it's one of the requirement for PR process
it makes PR reviewer happy
it helps you improve
to make sure that the code works correctly
Which is the good variable name which defines list of policies?
var policy-lists;
var list_policies
var policyList;
var POLICY_LIST;
Which lie do you tell most often?
Five more minutes
On my way!
I’m listening
I didn’t see your text
I have no idea
