3 ms·
safe would be more a property of where it came from, and maybe what processing the string has had on it. Plenty of business strings have newlines. I like the i
by bdamm 5y ago
safe would be more a property of where it came from, and maybe what processing the string has had on it. Plenty of business strings have newlines.
I like the idea but really I want the type to capture unsafe/semi-safe/safe. Now the trick is, how expressive can the idea of semi-safe be?
- KingOfCoders 5y agoJoel tried to fix the problem / source with naming (I remember reading that article, and it's 17 years old!) https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/ https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...