Skip to content

Talk #5: Lodash

Photo of Tim Oram
Hosted By
Tim O.
Talk #5: Lodash

Details

hellodash-world.js

As of 2018, one of the surest ways to break the internet would be to put a bug in lodash. The lodash library is the most depended on npm project by a huge margin, with more than 50000 dependents. Indeed, it is found in the dependency trees of angular, babel-core, eslint, karma, react, vue, webpack and dozens of others of the most important projects in modern web development.

Some folks see this as a problem. Excessive and unnecessary use of dependencies surely makes our code more brittle, obscure and heavy. And moreover, why use lodash now that we have the ever so beautiful ES 2015/2016/2017 etc.

In contrast to calls to use less lodash, this talk will explore the extreme opposite end of the spectrum: what if we wrote all of our javascript in lodash? No primitives, operators, variable declarations, object literals, array literals, function declarations or anything else that you learned about in ECMA 101.

Instead, what would it look like to write everything with just method and property calls to the lodash object? This talk will demonstrate that this is both possible and fun, although it won't claim that this is desirable.

The talk will live code real examples of lodash only js. Then we'll come back down to earth to consider some practical ways you can use lodash in your day job.

The talk will be followed by a QA session.

Speaker Bio

Dan Miller wrote his first for loop in Actionscript 1.0. Since then he has helped non-profits build websites on wordpress, developed online learning software with full-stack javascript for Bluedrop, and most recently has been building UIs for blockchain apps and companies.

Lately, Dan has spent his free time learning about cryptography, functional programming and the Rust programming language. The javascript projects he most admires are lodash, redux, Wordpress' Calypso and jsf**k

By attending the talk you agree to the Code of Conduct: http://ctsnl.ca/conduct/

Photo of Computer Technology Society of Newfoundland and Labrador group
Computer Technology Society of Newfoundland and Labrador
See more events
Engineering Building, Room 2040
Memorial University of Newfoundland, Engineering Building, Room 2040 · St. John's, nl