Memoization and DRY

I just created an example Python repository, better_memoization, for applying the DRY (Don't Repeat Yourself) principle to some code I found demonstrating memoization. What is Memoization? Memoization is a practice of storing previously calculated iterations of recursive function in a memory cache. Instead of calculating the results every time, cached results are returned when available. … Continue reading Memoization and DRY

IP Subnetting and ANDing

Having taught both A+ and Python courses, I have used IP subnetting as a topic to teach some fundamentals about logic. This is an important skill for IT professionals and developers to understand, yet there are so many that have not picked up these concepts. In this post, I will explain: What is subnetting? Why … Continue reading IP Subnetting and ANDing