2 ms·
Your example works because it avoids duplication a magic string constant. If the string wasn't a constant, but another variable, thw whole argument changes.
by gmueckl 7y ago
Your example works because it avoids duplication a magic string constant. If the string wasn't a constant, but another variable, thw whole argument changes.
- janpot 7y agoMy example is literally the real world version of the example in the article, only thing I did was change string values and identifier names. If you say my example works as an abstraction, it means that it successfully refutes the argument that the article tries to make.