Never write for-loops again

Publicado el 12 dic 2016 en micropost • Etiquetado como buenas prácticas, bucles, listas por comprensión, iteradores, generadores, Python

It’s been a while since I started exploring the amazing language features in Python. At the beginning, it’s just a challenge I gave myself to practice using more language features instead of those I learned from other programming language. And things are just getting more fun! Not only ...

Sigue leyendo

Bullet proofing Django models

Publicado el 07 nov 2016 en micropost • Etiquetado como django, buenas prácticas, DRY, bajo acoplamiento, concurrencia, atomicidad, validación, testeo

We recently added a bank account like functionality into one of our products. During the development we encountered some textbook problems and I thought it can be a good opportunity to go over some of the patterns we use in our Django models. This article was written in the order ...

Sigue leyendo