Angular ngFor

Basic syntax html: Syntax with local variables: html: Syntax without markup: html:

Python Duck Typing, LBYL, EAFP

Duck Typing A programming style which does not look at an object’s type to determine if it has the right interface; instead, the method or attribute is simply called or used (“If it looks like a duck and quacks like a duck, it must be a duck.”) By emphasizing interfaces rather than specific types, well-designed ... Read more

Python debugging

Show list of all available attributes and methods for the object we pass in: Helpful debug info: Show help info:

JavaScript sort

Alternative syntax with arrow function: Sort array of numbers: