Skip to content

Lessons we’ve learned on real projects (page 78)

The links, tools and tips our engineers and designers share with each other, one “today I learned” at a time.

lessons shared
3,447
people sharing
86
database started in
2016
  • fettblog.eu

    Prefer type aliases over interfaces:

    This is the second article in a series of articles where I want to highlight ways on how to keep your TypeScript code neat and tidy. By nature, this series is heavily opinionated and is to be taken with grains of salt (that’s plural).

    Rebeca Sarai

  • developer.mozilla.org

    Pros and Cons of using e.stopPropagation

    The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases. It does not, however, prevent any default behaviors from occurring; for instance, clicks on links are still processed. If you want to stop those behaviors, see the preventDefault() method. It also does not prevent propagation to other event-handlers of the current element. If you want to stop those, see stopImmediatePropagation().

    Rebeca Sarai

  • adamj.eu

    Tips for debugging with print(): [python

    If you’re embarrassed at debugging with print(), please don’t be - it’s perfectly fine! Many bugs are easily tackled with just a few checks in the right places. As much as I love using a debugger, I often reach for a print() statement first.

    Joao Veras

  • tactics.convertize.com

    Cognitive Ease definition:

    Cognitive ease or fluency is the measure of how easy it is for our brains to process information. The Cognitive ease associated with something will alter how we feel about it and whether we are motivated to invest our time and effort in it. The Nobel prize-winning Economist Daniel Khahneman explains in his book Thinking, Fast and Slow (2011) that our brains have two modes of thinking: the first that operates automatically and quickly, with little or no effort and no sense of voluntary control, and a second system that pays more conscious attention to information presented, especially in the…

    Flavio Juvenal

  • developer.okta.com

    An Overview of Best Practices for Security Headers:

    Security headers instruct browsers how to behave and prevent them from executing vulnerabilities that would endanger your users. Learn how to use them in this tutorial.

    Flavio Juvenal

Book a call

Found it useful?
Let’s put it to work.

Tell us about your product and the problem in front of you. We’ll bring what we’ve learned on real projects.

Tell us about your product, and we’ll bring what we’ve learned.

Still prefer the good old email? Contact us