ReusableCode

Showing 1-2 of 2 results

Share

Reduce Boilerplate Code With Scala Macros and Quasiquotes

The concise syntax of Scala usually helps developers avoid writing boilerplate. When repetitive code is required anyway, developers can use macros and quasiquotes to keep code clean and maintainable. Here’s how.

6 minute readContinue Reading
Alain-Michel Chomnoue Nghemning

Alain-Michel Chomnoue Nghemning

Towards Updatable D3.js Charts

When Mike Bostock created D3.js, he introduced a tried and true reusable charts pattern for implementing the same chart in any number of selections. However, the limitations of this pattern are realized once the chart is initialized. In this article, Toptal engineer Rob Moore presents a revised reusable charts pattern that leverages the full power of D3.js.

11 minute readContinue Reading
Rob Moore

Rob Moore

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.