Git Product home page Git Product logo

Comments (5)

DrBoolean avatar DrBoolean commented on August 23, 2024

Hi! The paragraph below the example tries to point out that it's more complex than the compose written above. Perhaps, we should prefix compose with _ in those examples?

from mostly-adequate-guide.

Bondifrench avatar Bondifrench commented on August 23, 2024

That would make it more explicit.
I think the same should be done with this line: var reverse = reduce(function(acc, x){ return [x].concat(acc); }, []); use _.reduce to make it explicit that we take them from a library.

from mostly-adequate-guide.

DrBoolean avatar DrBoolean commented on August 23, 2024

Yeah, my current overhaul has to do with not relying on previous (or missing) definitions of functions. I'll try to find time this week to use lodash-fp or ramda as much as possible

from mostly-adequate-guide.

Bondifrench avatar Bondifrench commented on August 23, 2024

I really appreciate your book as I am relatively new to functional programming, it helps to make my code more readable and declarative.

One interesting feature that might be nice to add within your book, is how you integrate functional paradigms with a framework like Mithril (my favorite) or React or other libraries like paths-js or D3.js for charts, i.e. use cases/real world examples

from mostly-adequate-guide.

DrBoolean avatar DrBoolean commented on August 23, 2024

Thanks for the suggestions! For the compose confusion, I'm going to open an issue to replace as many custom functions with _ so we know where they're coming from and close out this one.

from mostly-adequate-guide.

Related Issues (20)

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.