BP’s Daily Digest #15 — a Chrome extension for Medium, Spring Native, and more

BP Editors
Better Programming
Published in
3 min readApr 28, 2022

--

Welcome to the 15th edition of Coffee Bytes, a daily digest by Better Programming.

In this issue, we’ve got an end-to-end guide to build chrome extensions for Medium stats, a little-known Node.js feature for error-handling, Spring Native, a comprehensive look at asynchronous programming in Python, lots of code and non-code-related advice.

Programming

How to Develop React Chrome Extension for Medium in 26 Steps

From building to deploying — Bartosz has created a Medium Any Author stats Chrome extension. From idea to publishing in the chrome web store — Bartosz shows how exactly to create the extension using React and TypeScript.

By Bartosz Salwiczek — 16 min read

Software Engineering

How to Integrate Spring Native Into Spring Boot Microservices

Through a hands-on tutorial, this story gives a better understanding of what Spring Native is, its pros and cons, and its super promising future. Is Spring Native the wings that can make Spring Boot fly?

By Wenqi Glantz — 10 min read

Web Dev

Power up your Node.js debugging and error handling with the new Error cause feature

A new feature named “Error cause” was recently introduced in Node.js and in browsers. So, starting with node 16.9.0, we can add a cause to our error constructor. Know how to do it.

By Moaad FATTALI — 4 min read

Python

An Introduction to Asynchronous Programming in Python 3

Takeaways from this story:

  1. Core vocabulary of async programming
  2. When an asynchronous approach makes sense
  3. The basics of async code in Python 3
  4. Useful resources for further investigation

By Samuel Cook — 10 min read

Android Dev

Modeling Retrofit Responses With Sealed Classes and Coroutines

This post covers how to model Retrofit responses with Coroutines and Sealed classes to reduce code complexity and make your application architecture consistent.

By Jaewoong Eum — 7 min read

iOS Dev

FirestoreQuery and SwiftUI: The easiest way to listen for real-time updates

Firebase was made available via Swift Package Manager recently, and there’s a lot of new APIs that came out for SwiftUI with that particular release. Today, I want to walk us through a few, but really one in particular: @FirestoreQuery(collection:).

By Brianna — 5 min read

Work Advice

Guide to Micromanagement

This story explains precisely what micromanagement is and how it can manifest itself within teams, then move on to tips for identifying it and, importantly, escaping it.

By Marcus Knight — 7 min read

--

--

We cover code tutorials, leadership and management, productivity, coffee and a daily digest.