Tag: programming
-
Python Generators – The Lazy Workers of Python
When you first learn Python, you’re introduced to functions and loops. As you go deeper, you meet one of Python’s coolest features, Generators. But what is a generator? Why do developers say it’s memory efficient or lazy? In this blog, we are going to see where and how these generators are going to help us.…
-
Git Reset – A tool to correct your (commited) mistakes.
Terminologies The index is not the working directory, you can type a command such as git status, and git will tell you what files in your working directory have been added to the git index (for example, by using the git add filename command). In simple words, git reset is to correct your mistakes. Consider…