Skip to content

Instantly share code, notes, and snippets.

View Masa331's full-sized avatar
🤠

Premysl Donat Masa331

🤠
View GitHub Profile
@Masa331
Masa331 / market_research.rb
Created October 9, 2016 17:51 — forked from searls/market_research.rb
Was chatting with @mfeathers about retaining Ruby's chained Enumerable style, but finding a way to inject names that reflects the application domain (as opposed to just littering functional operations everywhere, which may be seen as a sort of Primitive Obsession)
# A little toy file demonstrating how to build chainable
# data transformations that reveal some amount of intent
# through named extracted methods.
#
# Kudos to @mfeathers for giving me the idea to try this
#
# Copyright Test Double, LLC, 2016. All Rights Reserved.
require_relative "marketing_refinements"
@Masa331
Masa331 / gist:066703fac553a2f7d4c5
Last active August 29, 2015 14:25 — forked from schacon/gist:1
the meaning of gist
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.