How to write code that is easy to understand and maintain without adding documentation. In this post, I am going to share some tips and good practices to achieve what I and my colleagues used to call “Self Documenting Code ©”. The examples used here are in the context of the Python programming language butContinue reading “How to write self-documenting Code”
Monthly Archives: September 2021
VSCode Anchor: The powerful less known feature
The Anchor, although rarely talked about, is a VSCode feature that saves time and makes code navigation easier. Here is why and how to use it: Quick bookmark: Sometimes when coding, I need to see a function signature or add a constant at the top of the editor without losing my current line and column.Continue reading “VSCode Anchor: The powerful less known feature”
Download assets from a private Github repo
The other day I was trying to download an asset from a private Github repo. I couldn’t find a recent guide on how to do this. Most search results returned outdated results. Here is how to do it using curl and jq