there would have been better times to have a discussion about creating a C++ style guide at work than right after i spent three weeks writing a ton of rust
me: we shouldn't use -1 to mean an invalid index, we should make it an std::optional<size_t> instead
coworker who's been writing c++ for thirty years: that's like four extra bytes though