|
|
|
|
|
by lelanthran
1071 days ago
|
|
> C++ can't do it either with std::string and sky doesn't fall, because such distinction is rarely needed and for business logic empty string means absence of value, Incorrect. I'm literally, today, working on a project where the business logic is different depending on whether an empty string is stored in the database, or no string. "User didn't get to fill in a preference" is very different from "user didn't indicate a preference". In more practical terms, a missing value could mean that we use the default while an empty value could mean that we don't use it at all. |
|