Vidyalelo
Ruby Programming · Q19

Best Practices and Code Conventions in Ruby

Programming · Ruby Programming · question 19

Q19

Which of the following is a good practice for writing clear and readable Ruby code?

A.
Embedding multiple responsibilities within a single method
B.
Using meaningful variable and method names
Answer
C.
Not adding any comments or documentation to the code
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board