• Python's if __name__ == '__main__'

    When you are new to python, you may have noticed that the variables that are widely used in all projects are __name__ in conjunction with __main__. They might be the most mentioned dunder variables in Python projects on github. To be specific, it is mentioned 6,436,149 times at the time of this writing.

    Continue Reading...
  • Mocking with Python - Part II

    This is part 2 of my mocking with python blog series. If you haven’t read the first part or have, and would like to skim over the basics, then please go ahead and read it (again). Both articles aren’t in any way an expert guide but my personal quest on learning python mocking. I’ll try my best to convey my thoughts and try to cover all topics related to Python mock.

    Continue Reading...
  • Best Practices for designing APIs

    A favorite question for system design during interviews is to design an API. Though there are no right answers to the question, you are tested on your basic understanding of software design. Your interviewer might be probe you on some key concepts. This is a list of things that might be useful when answering that dreaded API design question or a refresher on best practices for building APIs.

    Continue Reading...
  • 7 shortcuts of a highly effective Sublime Te...

    Through my career as a software developer, I have appreciated one text editor the most, Sublime Text. I began with writing code in Notepad++ long long time ago, then tried IDEs as well but nothing came as close to working smoothly as Sublime Text. This blog is also written using Sublime Text.

    Continue Reading...
  • Deploy python package with private github repo

    If you are someone who hosts your python package in a private github repository for work or someone who plans to develop your package privately before it is open sourced, I have answers to your questions on how to deploy your project without hosting your own private PyPI service.

    Continue Reading...