Category: programming languages
In GoLang, the defer keyword is used to ensure that a function call is performed later in a program’s execution, typically for purposes of cleanup. Deferred function calls are …
Teaching Kids Programming: Videos on Data Structures and Algorithms Table: Tree +-------------+------+ | Column Name | Type | +-------------+------+ | N | int | | P | int | …
Teaching Kids Programming: Videos on Data Structures and Algorithms Introduction to the Function Decorator in Python In Python, we can add decorate a function by using the @ symbol, …
This post writes a go version of caching layer using redis, wrapps it in a class and provides a usage. Let’s create a Go package that provides a caching …
Teaching Kids Programming: Videos on Data Structures and Algorithms Implement the Pairwise Function in Python using the Iterator/Yield The pairwise is from itertools where we can iterate over a …