Dont Forget The Readme!

08 Feb 2021

The key take away today is that producing a working program alone is not sufficient and will not qualify as complete—this much for the most part I knew, but for the record and for my own recollection I’ve created a checklist of minimum requirements to have completed prior to submitting & showing off your masterpiece:

Oh! And don’t forget to update the README!

Ok, i think I’ve drilled that into my own brain enough.

It’s so easy to think, well, everything is working just as I want it to on the production side—i mean you can now play tic tac toe on my blog site, so why do i need to fix the compile error or those three failing tests—i mean the tests are obviously failing because of some error in the test not the production code, and does it really matter that the tests aren’t compiling if the app runs?

Yes. It does. The tests are a huge part of your credibility. Who is going to trust you if your code—your tests—don’t compile?

And besides, if your production code is perfect, it shouldn’t be too hard to fix those failing tests—Ha! I’m going to choke on that for a second—it’s all true, but if you’re new like me and your tests are fragile and rigid, fixing your tests might be a huge pain, but it’s a requirement. You are not done if your tests do not both pass and compile—it’s silly to say both words every time, but this morning, all my tests were passing, despite having a compile error. Sometimes it can seem like they are passing when they are not even compiling!

Anyway, for any future apprentices, remember to fully understand all expectations prior to submitting (ask for a checklist to keep on hand or use this one), remember that tests are equally as important as production code, and don’t forget the README!!