Angular deprecated APIs and features
Angular deprecated APIs and features List of deprecated Angular APIs and features Angular deprecation practices Angular Changelog
Angular deprecated APIs and features List of deprecated Angular APIs and features Angular deprecation practices Angular Changelog
html: Multiple switch cases with the same output:
Basic syntax html: Syntax with local variables: html: Syntax without markup: html:
js: html: Basic math operations: html: Template reference variable html: Property binding js: html:
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 os
Working with files using context manager: Example to get the list of files in the directory with context manager: Working with files (open, read, write, copy, binary) contextlib
Show list of all available attributes and methods for the object we pass in: Helpful debug info: Show help info:
Alternative syntax with arrow function: Sort array of numbers:
Alternative syntax with arrow function: