Giter Site home page Giter Site logo

altlowbar's Introduction

Lowbar - Collections, Functions and Language

Goals

  1. Continue practicing test-driven development (TDD) - both the process and the tools you'll be using to do it from now until the end of the course (and beyond).
  2. Get an 'inside view' of one of the most heavily used JavaScript libraries, lodash (50m downloads on NPM last month).
  3. Lay the foundations for understanding the functional style of programming that JS lends itself so well to.

Tasks

On this sprint we'll implement lowbar.js, our own version of the popular utilities library lodash.js. The methods you should implement are listed below, but feel free to implement any others you find interesting if you finish.

Core

These are the core functions you should aim to get finished. Note that some of these names will look familiar, but you need to check the documentation as they may offer additional functionality.

• identity

• take

• uniq

• forEach

• map

• filter

• reduce

• once

• before

• spread

• after

• overArgs

You should be heavily referencing the APIs of the following:

  1. lodash
  2. The Chai Assertion Library
  3. Testing with spies

Advanced

• chunk

• remove

• shuffle

• conformsTo

• sortedIndex

• sortBy

• difference

• intersection

• delay

Very Advanced

• partial

• memoize NOTE: You do not need to attempt the second argument (resolver) or making the cache property available.

• invoke

• invokeMap

altlowbar's People

Contributors

ricksmith26 avatar davidjumble avatar nc-jonny-rathbone avatar sssam-c avatar maurogestoso avatar dedekind561 avatar

Watchers

James Cloos avatar

Forkers

crizby

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.