Golang: Understanding Variables

Now that we understand Golangโ€™s project structure and how to write our own packages and commands, itโ€™s time to get to the language basics and learn about variables. We will learn them in a very practical way - by writing code ๐Ÿ™‚ The keyword var is the basic form to define variables. A var statement … Continue reading Golang: Understanding Variables

Performance for testing memberships: list vs tuples vs sets

Sets in Python are often used for two purposes: 1. Removing the duplicate entries in a collection 2. For membership testing. By membership, here we mean to find existence of element in a collection The focus of this post is to evaluate performance of list, tuple and set data structures with respect to each other … Continue reading Performance for testing memberships: list vs tuples vs sets