#4 Daily Log, The Day of Refactoring

Kilari Teja
Jul 30, 2017 · 1 min read

Readability is all no matter if its source code or whatever. Anyway I got a couple of books from the flea market today, I found a copy of Unix Concepts, The Story of Watson, The Next Species, Nokia: The Insider Story and the History of time. I read a couple of pages of Nokia: The Insider Story and it seems really interesting. I am really excited about the one dealing with IBM Watson.

I began the day by adding a unit test to the Bricks module, Its just a basic syntactic check to ensure that each Brick class provides enough information regarding its typed data structure, Obviously its runtime typed. Kiln module needed a bit of rearrangement, doc strings and refactoring, did that and also made minor changes to the actual Kiln functions. Flow of those functions still remains largely consistent with the initial design. And the majority of the time I spent was to write unit tests for Kiln, I covered all the Kiln functions and fixed some unexpected behavior, all the test are passing as of the latest commit.

I have always fancied Test-driven development, Incrementing sources to implement a new feature while maintaining consistency sounds really cool! I plan to use TDD ideology for this personal project, More on this to come later.


Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade