2 followers
My tiny corner of nowhere, my small slice of nothing.
Subscribe to my newsletter and never miss my upcoming articles
This post is inspired from a talk at python pune january meetup by Pradhvan. What are Context Managers? Here's what Python's official documentation says: A context manager is an object that defines the runtime context to be established when executin...
@property is a popular keyword in python. In this post you'll learn how can we use it to write more pythonic code and refactor any non pythonic code we had. Let's consider an hypothetical number class which only allows numbers that are greater tha...
Learning javascript is weird. I want to share 3 things that I learnt today in javascript. Hoisting Hoisting is a mechanism where variable or function declarations are moved to the top of their scope before they're executed. That means, if we do this:...
I moved to my hometown due to covid-19. It's a small town in the foothills of Himalayas, called 'Kotdwara'. The view in the article cover is the one I grew up with. I am not a voracious reader, but I try to read a book a month, which, over the years,...
The trick is to realize that every heart, is just a cheerleader square holding two circles like pom-poms. https://codepen.io/sigmapie8/pen/dyMKGQR