Posts Tagged “opinion”
2023-05-08 Don't call it *_id!
When storing data consumed from an external service, we often make assumptions on semantics (and types) of data we don't own. Especially other people's unique identifiers.
2023-03-24 Constant Doubts
Ruby's public constants often expose implementation details of the defining scope. This articles explores a simple alternative option: singleton methods. Singleton methods everywhere.