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

Or subscribe using...
Github icon for OAuth via Github Google icon for OAuth via Google
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






This email was sent to <<Email Address>>
why did I get this?    unsubscribe from this list    update subscription preferences
A Byte of Coding · 750 Fowler St NW · Atlanta, GA 30332-1914 · USA

Stats (updated daily)

Sent: 900

Opens: 410

Clicks: 263

Link Clicks Clicks % Unique Clicks Unique Clicks %
Inheritance vs Composition: Which is Better for Your JavaScript Project? 83 42.78% 70 44.03
Three Classes of Problems Found by Mutation Testing 49 25.26% 37 23.27
Using Bloom filters to efficiently synchronise hash graphs 62 31.96% 52 32.70

Previous

Back to Issues

Next