Maxi Contierimaximilianocontieri.com·Apr 25, 2024Code Smell 249 - Constants as NumbersTL;DR: Use real-world constants as constants Problems Bijection Violation Debugging Premature Optimization Maintainability Type Safety Limited Extensibility Solutions Use descriptive string constants Use Enums Create A Polymorphic Hierar...Code SmellsGeneral ProgrammingAdd a thoughtful commentNo comments yetBe the first to start the conversation.