Two's Complement cover image

Two's Complement

Ben Walks A Tree

Aug 22, 2023
Ben ventures into the forest and finds a tree traversal problem. He gets fascinated by a hash map and Matt suggests zombies. They come up with a solution and discuss how to test it.
43:51

Podcast summary created with Snipd AI

Quick takeaways

  • Testing for an empty directory is a crucial starting point to verify the basic functionality of the code.
  • Writing tests for handling multiple subdirectories and files with varying schemas ensures robustness.

Deep dives

Handling an empty directory

The podcast discusses the need for handling an empty directory in the code. It highlights the importance of writing a test that verifies if the program returns an empty list when there are no files in the directory. The test is considered a basic and essential starting point for ensuring the functionality of the code.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner