Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

Michael Feathers Talk by Mind Map: Michael Feathers Talk
0.0 stars - reviews range from 0 to 5

Michael Feathers Talk

But there is a gulf in understanding if you odn't 'get it' yet

Once you get used to the style, it's not that bad

Howevr it is not terribly intention revealing

if you add these to your toolset, you discover that you can use them all the time

Total functions

Never return nil

take is total

detect is not

Jquery is also a total function (fyi ;0)

total functions can be chained

These constructs provide a huge amount of power

So what can we do with this possible scariness?

Make it a little bit more OO

extract a class

But what if we only use it in one function?

How far do we go in the direction of special purpose abstractions ot make things more readable

What is clever?

If we're using good names, we wind up with a story

Functional doesn't use names about the domain as much, they're using names that are common

Learn about Enumerable and Array

If you understand how group by works, it never changes.

Writing functional code is about discovery

we find things like each_slice

We have to look for them

My point is that what we take for granted about programming is a shared experience. If we don't see code that does group_by often enough it's crazy as hell. But once you see it often it becomes "oh cool!"

There is a lot of cool stuff there, don't let stuff that looks hard prevent you from learning