Giter Site home page Giter Site logo

《Composing SoftWare》 about blog HOT 8 OPEN

goldEli avatar goldEli commented on August 22, 2024
《Composing SoftWare》

from blog.

Comments (8)

goldEli avatar goldEli commented on August 22, 2024

Composing Functions

Function composition is the process of applying the function to the output of another function.

Working Memory

Signal Noise To Ratio

Concise code can improve the signal-to-noise ratio of your code.

Surface Area For Bugs

less code = less the surface area for bugs = fewer bugs

from blog.

goldEli avatar goldEli commented on August 22, 2024

Composing Object

There are primitives:

const firstName = "gold"
const lastName = "eli"

This is a composite:

const obj = {
  firstName: "gold"
  lastName: "eli"
}

from blog.

goldEli avatar goldEli commented on August 22, 2024

The Dao of immutability

Dao: Data Acess Object

Immutability

erase history

Separation

Flow

from blog.

goldEli avatar goldEli commented on August 22, 2024

The Rise And Fall And Rise Of The Functional Programming

The rise of functional programming

lisp

The fall of functional programming

java c++ 1980~2010

inheritance hierarchies

The rise of functional programming

Javascript explosion

The array functions were like rocket fuel for function programming explosion in Javascript.

from blog.

goldEli avatar goldEli commented on August 22, 2024

App ate the world, The browser ate the app, JavaScript ate the browser.

By multiple measure, Javascript is one of the most popular languages in the world.

from blog.

goldEli avatar goldEli commented on August 22, 2024

At any given moment, there are close to a hundred thousand job openings in the united states and hundreds of thousands job in more world-wide.

from blog.

goldEli avatar goldEli commented on August 22, 2024

Function

Functions may serve the following purpose:

  • mapping
  • Procederg
  • I/O

Pure Function

  • process the input return the output. Given the same input, will always return the same output.
  • Produce no side effect

from blog.

goldEli avatar goldEli commented on August 22, 2024

We can grasp the meaning of functional programming:

  • Pure Functions
  • Function Composition
  • Avoid shared state
  • Avoid mutating state
  • Avoid side effects

from blog.

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.