7 ms·
True. The only other challenge is that in production software you rarely want to call panic()
by everdev 7y ago
True. The only other challenge is that in production software you rarely want to call panic()
- IanS5 7y agoAs another comment mentioned you can just use build tags to make assert a no-op in release builds