Visualizing Bubble Sort in 5 Minutes Using HTML5 Canvas API

For most developers, bubble sort is one of the first algorithms we learn. Therefore, visualizing it can be highly satisfying and feels a bit like meeting an old friend after a long time. This article will take you through visualizing the bubble sort algorithm using HTML5 canvas API. If you would like to jump straight to the results and have a look at the code, here is a codepen. In the meantime, below is a little sneak peek of what we are going to accomplish here....

November 2, 2020 · 3 min · 597 words · Gal Elmalah

9 Great Tips To Use Javascript Array Methods Like a Pro!

As a developer, I always reflect upon the code I write and read. Through this process, I have collected a bunch of useful tips. In this post, I’m going to share those tips that relate to array methods. Although I’m talking about array methods, these tips apply in other situations. Keep them in mind while you code. The tips Some are better naming conventions and rules on when to apply them....

October 7, 2020 · 7 min · 1392 words · Gal Elmalah