Become a member
Sign in
Robus Gauli
Robus Gauli

Robus Gauli

https://github.com/RobusGauli

29 Following
34 Followers
  • Profile
  • Claps
  • Highlights

Latest

Robus Gauli
Robus Gauli
Apr 9 · 2 min read

Thread safe lazy property caching for python.

Let’s think twice before initializing objects inside…

266

1 response
Robus Gauli
Robus Gauli
Dec 30, 2018 · 2 min read

Compositional Pattern in Python with “SUPER”

Tinkering with multiple inheritance in python.

A untold story about “composition” and “multiple inheritance” in PYTHON

618

Robus Gauli
Robus Gauli
May 16, 2018 · 6 min read

Generator and Traversal

When I was first introduced to lazy evaluation in Haskell, I was sold by the idea of working with infinite series. Here is the simple program that creates an infinite series of integers and outputs only first ten digits.

-- |It creates a list of integers from 1…

53

1 response
Robus Gauli
Robus Gauli
Apr 8, 2018 · 2 min read

New “dataclass” class decorator in Python3.7

As I was stumbling on the new features added on python 3.7, newly added module caught my eye which is known as “dataclasses”. This module exposes a class decorator called “dataclass” which wraps around the class definition and it smells very similar to…

6