Inheritance vs Composition: Which is Better for Your JavaScript Project?

Three Classes of Problems Found by Mutation Testing

Using Bloom filters to efficiently synchronise hash graphs

Issue #42

12/3/2020

A Byte of Coding Issue #42
Blues clues whose news?
So today I found out the horrifying fact that anything you copy from a website can be changed using JavaScript. That's pretty bad. Stay alert ma peeps..

Got the winter blues? Have a pipin' hawt issue, on the house.

Inheritance vs Composition: Which is Better for Your JavaScript Project?

Published: 3 December 2020
Tags: typescript


As a person who writes code, I've found that overall, it's best when I don't have code with the same functionality in two places. It's a pretty common design principle, and something that OOP really strives for. In this article, Fernando Doglio presents two OOP principles that implement the same thing, but in fairly different ways.
Read Full Article

Three Classes of Problems Found by Mutation Testing

Published: 18 November 2020
Tags: elixir


Mutation testing involves modifying software in small ways. If you're familiar with fuzzing, that can be considered a specific type of mutation testing. In this concise article, Devon C. Estes demonstrates how mutation testing could catch unexpected errors in an Elixir program that was proclaimed to have 100% test coverage.

Read Full Article

Using Bloom filters to efficiently synchronise hash graphs 

Published: 2 December 2020
Tags: math, git


How do you go about figuring out "the minimal set of commits that the two nodes need to send to each other in order to make their graphs the same" in git? Well, you could write a research paper on it like Martin Kleppmann and Heidi Howard did. In this extensive article, Martin discusses the scope of the problem, introduces the solution in the form of Bloom filters, describes the practical relevance, and goes into the details on why Bloom filters are a better fit than the current algorithm git uses.

Read Full Article
Thanks for your Support! 

Thanks to the supporters like Євген Грицай, Scott Munro, zturak, and pek, this newsletter is provided to you for free. If you'd like to also show your support and help out, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.
Donate Here

Stats (updated daily)

Sent: 900

Opens: 646

Clicks: 263

Link Clicks Clicks % Unique Clicks Unique Clicks %
Read Full Article 83 31.56% 70 31.82
copy from a website can be changed using JavaScript 65 24.71% 59 26.82
Read Full Article 62 23.57% 52 23.64
Read Full Article 49 18.63% 37 16.82
Donate Here 4 1.52% 2 0.91

Previous

Back to Issues

Next