EAFP Coding Style in Python

What is EAFP ? EAFP (Easier to Ask for Forgiveness than Permission) is a coding style that’s commonly used in Python community. This coding style assumes that needed variables, files, etc. exist. Any problems are caught as exceptions. This results in a generally clean and concise style containing a lot of try and except statements. This technique is really contrasts with common style in many other language like C with LBYL (Look Before You Leap) approach which is characterized by the presence of many if statements. ...

April 27, 2015 · 1 min · Rezha Julio

Kompresi CSS menggunakan Python

July 24, 2014 · 0 min · Rezha Julio