• 0 Posts
  • 56 Comments
Joined 2 years ago
cake
Cake day: August 22nd, 2023

help-circle

  • You know that thing you do, where you write some code and then realize you need a main function to execute it? And then you write your main function, but it’s not really your main function, it’s a bunch of half commented test code to make sure that the important code works?

    Do that in a unit test, and when you’re done testing that particular piece, add some assertions and move on to the next piece of functionality. Boom, test driven development.










  • We have reached the limits of what I know on the subject. So, no idea. If forced to make an uneducated guess, I’d say it was probably some combination of environmental factors, a preexisting culture that fit particularly well with horses, and natural variation in adoption of new tech among different groups of people.