Listen "Using Bitmasks for Efficient App Configurations"
Episode Synopsis
In this episode, we look at 2 functions to encode and decode a bitmask for a set of configuration flags. This is a great way to efficiently store user or app settings. As always, the code for this snippet can be found here:
https://codepen.io/walpolea/pen/WNNwaBq?editors=0012
https://codepen.io/walpolea/pen/WNNwaBq?editors=0012
More episodes of the podcast Code Snippet
Easier Layouts with CSS box-sizing
25/09/2019
CSS Grid Named Area Layouts
20/09/2019
Destructured Function Parameters
11/09/2019
Using Spread with Objects and Arrays
05/09/2019
Random Whole Numbers With Bitwise Not
13/08/2019
3 Ways to do CSS Vertical Centering
30/07/2019
Array of Unique Values with JS Set
24/07/2019
Indexing Data in Javascript
23/07/2019
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.