DEV Community

loading...

Discussion on: AYDT - 03 ( Are You Doing This ❓ ) - Programming and Cases.

Collapse
chintukarthi profile image
Karthikeyan Dhanapal Author

Hi shushugah,

The whole idea of this article is to point out the best practices of using the cases. Even though naming the constant like this,

Name = "Fred"

is allowed, but it will throw ' lint issue ' which is surely not a good practice.
If you would like, you can have an idea of possible good and bad practices here: github.com/rubocop-hq/ruby-style-g...

So whatever is mentioned here is said by considering the lint standards, which I am planning to cover in the next article.

I really appreciate your effort in pointing out this. Keep reading 🙂

Forem Open with the Forem app