Examveda

What is the purpose of using snake_case for method and variable names in Ruby?

A. To make the code more challenging to read

B. To indicate private methods and variables

C. To emphasize the importance of the code

D. To improve readability and maintain consistency

Answer: Option D


Join The Discussion

Related Questions on Best Practices and Code Conventions in Ruby