Skip to content

Instantly share code, notes, and snippets.

View prem0862's full-sized avatar
🎯
Focusing

Prem Singh prem0862

🎯
Focusing
View GitHub Profile
@prem0862
prem0862 / react-bind.md
Created September 24, 2020 16:45 — forked from fongandrew/react-bind.md
Explaining why we bind things in React

Start With This

Before getting to React, it's helpful to know what this does generally in Javascript. Take the following snippet of code. It's written in ES6 but the principles for this predate ES6.

class Dog {
  constructor() {
@prem0862
prem0862 / bobp-python.md
Created July 4, 2019 09:09 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens