Profile cover photo
Profile photo
Eric Elliott
7,692 followers -
Compassionate entrepreneur on a mission to end homelessness.
Compassionate entrepreneur on a mission to end homelessness.

7,692 followers
About
Eric's posts

Post has attachment
setState() Gate: Navigating React setState() Behavior Confusion

It all started last week. 3 different React learners encountered 3 different obstacles trying to use setState() in their projects. I mentor new React users a lot, and consult with teams making transitions from other architectures to React.

Read more...

https://medium.com/javascript-scene/setstate-gate-abc10a9b2d82#.nl1niukxr

#reactjs #JavaScript

Post has attachment
Functors & Categories: Composing Software
A functor is something that can be mapped over. In other words, it’s a container which has an interface which can be used to apply a function to the values inside it. When you see the word functor, you should think “mappable”.

read more...

https://medium.com/javascript-scene/functors-categories-61e031bac53f#.236xgl5ac

#functional #JavaScript

Post has attachment
Reduce (Composing Software)

Reduce (aka: fold, accumulate) utility commonly used in functional programming that lets you iterate over a list, applying a function to an accumulated value and the next item in the list, until the iteration is complete and the accumulated value gets returned. Many useful things can be implemented with reduce. Frequently, it’s the most elegant way to do any non-trivial processing on a collection of items.

Read more...

https://medium.com/javascript-scene/reduce-composing-software-fe22f0c39a1d#.gam1j9rn4

#functional #JavaScript

Post has attachment
Higher Order Functions (Composing Software)

A higher order function is a function that takes a function as an argument, or returns a function. Higher order function is in contrast to first order functions, which don’t take a function as an argument or return a function as output.

Read more...

https://medium.com/javascript-scene/higher-order-functions-composing-software-5365cf2cbe99#.lkg4e2dcy

#functional #JavaScript


Post has attachment

Post has attachment
Why Learn Functional Programming in JavaScript? (Composing Software)

If you’re a seasoned developer already familiar with JavaScript, or a pure functional language, maybe you’re thinking that JavaScript is a funny choice for an exploration of functional programming. Set those thoughts aside, and try to approach the material with an open mind. You may find that there is another level to JavaScript programming. One you never knew existed.

Read more...

https://medium.com/javascript-scene/why-learn-functional-programming-in-javascript-composing-software-ea13afc7a257#.7vjxl7r65

#JavaScript

Post has attachment
The Rise and Fall and Rise of Functional Programming (Composable Software)

When I was about 6 years old, I spent a lot of time playing computer games with my best friend. His family had a room full of computers. To me, they were irresistible. Magic. I spent many hours exploring all the games. One day I asked my friend, “how do we make a game?”

He didn’t know, so we asked his dad, who reached up on a high shelf and pulled down a book of games written in Basic. So began my journey with programming. By the time public school got around to teaching algebra, I already knew the topic well, because programming is basically algebra. It can be, anyway.

...

https://medium.com/javascript-scene/the-rise-and-fall-and-rise-of-functional-programming-composable-software-c2d91b424c8c#.8y53fa3fp

#JavaScript

Post has attachment
Master the JavaScript Interview: What is a Promise?

A promise is an object that may produce a single value some time in the future: either a resolved value, or a reason that it’s not resolved (e.g., a network error occurred). A promise may be in one of 3 possible states: fulfilled, rejected, or pending. Promise users can attach callbacks to handle the fulfilled value or the reason for rejection.

Read more...

https://medium.com/javascript-scene/master-the-javascript-interview-what-is-a-promise-27fc71e77261

#JavaScript

Post has attachment
Survey: Getting to 10x - What do the Best Developers Have in Common?

A preponderance of research suggests that there is an order of magnitude difference in productivity between developers. What do they have in common?

https://medium.com/javascript-scene/survey-getting-to-10x-what-do-the-best-developers-have-in-common-4c9b4a4915a9#.mumlbgrs6

#code

Post has attachment
Master the JavaScript Interview: What is Functional Programming?

Functional programming (often abbreviated FP) is the process of building software by composing pure functions, avoiding shared state, mutable data, and side-effects. Functional programming is declarative rather than imperative, and application state flows through pure functions. Contrast with object oriented programming, where application state is usually shared and colocated with methods in objects.

...

https://medium.com/javascript-scene/master-the-javascript-interview-what-is-functional-programming-7f218c68b3a0

#JavaScript #functionalprogramming
Wait while more posts are being loaded