DEV Community

Discussion on: Code Smell 50 - Object Keys

Collapse
 
frankfont profile image
Frank Font

Simple answers don't always fit complex problems.
Semantic keys are not always a code smell in the wild.
I've found the lack of them when needed for performance and scale resilience can be a problem. They are the first thing I sniff for in a relational database and some shared object structures.

Collapse
 
mcsee profile image
Maxi Contieri

Of course. But then we are talking about data and performance(accidental) In my article I was focusing solely on behaviour (essential)