ReusableCode

Showing 1-2 of 2 results
EngineeringIcon ChevronBack-end

Reduce Boilerplate Code With Scala Macros and Quasiquotes

by Alain-Michel Chomnoue Nghemning

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
EngineeringIcon ChevronBack-end

Towards Updatable D3.js Charts

by Rob Moore

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

Join the Toptal® community.