• 1 Post
  • 69 Comments
Joined 1 year ago
cake
Cake day: June 1st, 2023

help-circle

  • To be fair, there’s only been 24 year’s of 21 century. Most things you gave listed happened at the end of the 20th century. But also the question is somewhat self negating - we won’t know what’s the greatest invention until we see it working great, but it takes much more than 24 years to take an invention from concept to consumption. For example computational biology is kicking off. Computer aided dna generation started in the past 24 years. But it’s so new few people think about it. Just like no one thought of internet as the greatest invention in the 70s… it was just too new






  • The Test part of TDD isn’t meant to encompass your whole need before developing the application. It’s function-by function based. It also forces you to not have giant functions. Let’s say you’re making a compiler. First you need to parse text. Idk what language structure we are doing yet but first we need to tokenize our steam. You write a test that inputs hello world into your tokenizer then expects two tokens back. You start implementing your tokenizer. Repeat for parser. Then you realize you need to tokenize numbers too. So you go back and make a token test for numbers.

    So you don’t need to make all the tests ahead of time. You just expand at the smallest test possible.