“What important truth do very few people agree with you on?”
Hashmaps are O(1). The number of people who don’t know this is astonishing.
Function documentation should include pre- and postconditions and invariants (since actual Design by Contract can be problematic due to side effects in call trees). I guess if you’re going to do real DBC, you should only access primitive data members without making function calls.
Logic does not belong in the database.
Caching is good. (Maybe these last two are indications that I’m not working at the right company.)
Developer documentation is worth the effort.
Slack (and MS Teams) is terrible. See above. Curation is worth the effort.
Long ‘switch’ statements are bad. Dispatch lookup tables are (probably) better.