Know What You Can and Can’t Do

Understanding the capabilities of the environment in which you are working is powerful. You might be able to do cool things in your software that you didn’t realize were possible. Did you know that you can create desktop notifications in Google Chrome (see Figure 11.3)? With desktop notifications, you can easily inform your users about things happening in your app, even if users don’t have your window open at the moment. Let’s say you are building a to-do list app, and the items in your to-do list have deadlines. You could create a desktop notification reminding your user that a deadline is approaching, but only if you know that desktop notifications exist. If you understand what your system can do, you can include ...

Get Learning to Program now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.