Re:Dangerous Logging in Swift
by saagarjha on Sunday October 31, 2021 @06:36AM
(#29055990)
NSLog takes dynamic strings just fine. Arbitrarily constraining it to only accept StaticStrings would break valid Swift programs. I wouldn't necessarily be opposed to it, but it's certainly not something that can be done without thoughtful consideration of the side effects.
[ Parent
| on HN ]
There are no comments on this comment yet.