GithubHelp home page GithubHelp logo

higher_order_munchkins's Introduction

Higher Order Munchkins

The title of the repo is the best I could come up with. Don't judge.

The purpose of this exercise is to build a project to help future students of all ages with their introduction to higher order functions.

The concept is fairly simple: The user will be presented with an initial array, and they must type into the textfieldl a way to operate on the contents of that array using higher order functions.

The main function types listed here will be forEach, map, filter, and reduce.

This program uses javascripts eval( ) method to read from the textfield and then evaluate what the user typed in as actual code.

eval ( ) is evil. You should never use it in production code, but it's great for educational programs, because it gives a lot of power to the user to write code that can actually be incorporated into the existing program. For the sake of this tutorial, it will help you think about how to accept code snippets from a user that will actually do real work.

higher_order_munchkins's People

Contributors

nmuta avatar

Watchers

James Cloos avatar

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.