CodeSOD: The Data Class
The Daily WTF
JUNE 29, 2020
For example, imagine you’re browsing a PHP codebase and see something like: $fmtedDate = data::now(); You’d instantly know that something was up, just by seeing a class named data. First, clearly, data is a terrible name for a class. But it’s not handling data at all. That’s what got Vania ’s attention.
Let's personalize your content