Skip to content

Instantly share code, notes, and snippets.

View EugeneN's full-sized avatar
🌎

Eugene EugeneN

🌎
View GitHub Profile
@EugeneN
EugeneN / BLOGPOST0.adoc
Created February 14, 2016 09:09 — forked from mbbx6spp/BLOGPOST0.adoc
Demonstration of referentially transparent state without the extra client boilerplate from a live coding study session on the FP in Scala book with coworkers. (Chapter 6 in FP in Scala)

Functional State: From Object Oriented Domain Modeling to Functional Programming Algebras

When coming from an object oriented background to functional programming you might be wondering if and/or how functional programming allows for modeling abstractions in our domain and how we go from an abstract model to working code.

Here is my attempt to provide a path so you can update your thought processes to aid in the transition from OO to FP.

OO Domain Model

@EugeneN
EugeneN / 0_reuse_code.js
Created July 2, 2014 11:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@EugeneN
EugeneN / test.yaml
Last active December 19, 2015 11:29 — forked from AlexMost/test.yaml
modules:
- build: Cafe.build
- minify: Cafe.minify
- banner: Cafe.banner
- wrapper: Cafe.commonjswrapper
build :
sequence: !do |
recipe <= get-recipe@build 'recipe.yaml'
cache <- get-cache@build