Comments (1)
I generally think leaving assert statements active in release mode when they prevent undefined behavior in the system. A quick crash is better than having undefined behavior that may lead to corrupt data or other undesirable results. This, combined with caching core dumps will allow us to more quickly root cause the bad behavior and fix it.
That said, for any assert statements that can actually be handled gracefully we should convert to a warning and continue or return gracefully. In other words, we should not assert on bad input when there's a way to continue executing without compromising the program behavior.
from farm-ng-core.
Related Issues (18)
- Create in-line comments for cmake macros such as farm_ng_add_protobufs
- [Feature] Improve events reader get Uris with dictionary instead of list
- [Feature] Merge boilerplate `get_event` and `read_message` HOT 1
- Not sure why I have this file in Pangolin - it isn't used and I think you can omit it. HOT 1
- I think we should scrap these operator+ methods. I haven't been using them as I think they're a bit confusing. HOT 1
- Handle file splitting by max size in `EventWriter` class and log system clock HOT 4
- write monotonic stamp as the last element in the stamps list by convention HOT 1
- async `EventsFIleWriter` `write` \ `write_raw` methods HOT 2
- core_logging, core_utils, & core_pipeline missing tests
- PIMPL pattern and Shared HOT 5
- [Feature] Add an event filter utility by message type
- Polish newly merged core+sophus2+cmake project
- Gracefully deal with LIBFMT exception HOT 4
- Broken MacOS build and PyPy release workflows for public API
- 1
- 2
- Possible error in camera distortion function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from farm-ng-core.