The Thiel question

“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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.