Python features to help you become a better programmer

namedtuple/SimpleNamespace

namedtuple


source: https://stock.adobe.com/search?k=snake+cartoon
$ npx create-react-app snake-game
structure of the code


Take your Rust code to another level using Macros

  1. Declarative macros: It allows us to write match…


A brief introduction to PyO3

Running Python in Rust

1. Installation


source: https://elc.github.io/posts/haskell-pattern-matching-in-python/


A quick introduction to functional programming in python

Photo by Hitesh Choudhary on Unsplash

Functional programming

  • Recursion: In functional programming we don't use loops. Instead we rely on recursion for iteration.
  • Pure functions: Pure functions are functions with no side effect i.e they do not modify the global state or input variables. …


Beginners guide- Brief introduction to Struct, Impl, and Traits

OOPS

  • Inheritance
  • Encapsulation
  • Abstraction
  • Polymorphism


Part 1: A Brief Introduction to Stack Machine

Virtual Machine


A Brief Introduction to Python Bytecode

Introduction


Umangshrestha

I like computer and programming. I am currently trying to learn how to write articles for sharing what I know.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store