Skip to main content



Every web site provides APIs.


agentcooper: JavaScript anti-patterns

Let's talk about anti-patterns when writing frontend javascript. I've tried to avoid writing down the stuff that linters can tell you, and instead collect examples from the everyday code. DOM Starting with very basic and classic one. Conditions add unnecessary complexity in this case, use toggle.

Taoofcode: Promise Anti-patterns

Promises are very simple once you get your head around them, but there are a few gotchas that can leave you with your head scratching. Here are a few that got me.
bookmarks javascript