#why-not
-
1 min read ·
Use constants to specify the version of your gem
When developing gems or external libraries we frequently write the semantic versioning as a string.
-
1 min read ·
Use error objects instead of strings
[...] we tend to write a lovely: raise 'some error explanation'