If you want to run the zsh new user setup, but have run it previously, do the following:
autoload zsh-newuser-install
zsh-newuser-install -f
If you want to run the zsh new user setup, but have run it previously, do the following:
autoload zsh-newuser-install
zsh-newuser-install -f
https://www.facebook.com/notes/kent-beck/functional-tdd-a-clash-of-cultures/472392329460303
I have been taking Bryan O'Sullivan's excellent Haskell course and noticed something during the homework: TDD wasn't working for me, at least not as I apply it in object languages. This has forced me to take a step back and rethink what is really essential about TDD and what is an artifact of the languages I have been using.
A warning: I'm only on week two of the course. I did quite a bit of functional programming in the Dinosaur Computing Era, so the style is familiar, but everything contained herein is subject to change. I'm mostly just thinking aloud (and hoping for contributed wisdom.)
When I use TDD with an object language like Smalltalk, Java, or PHP I typically start programming with a trivial case--a List with no elements, for example. Working through it encourages me (sounds better than "forces") to think about the metaphors I am using and style of the API
I hereby claim:
To claim this, I am signing this object:
http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/
Useful for decoding email message attachments
Source: http://superuser.com/questions/120796/os-x-base64-encode-via-command-line
openssl base64 -d -in <infile> -out <outfile>
# Destructuring assignment in Ruby | |
# http://po-ru.com/diary/destructuring-assignment-in-ruby/ | |
numbers = [ 1, 2, 3, 4, 5] | |
=> [1, 2, 3, 4, 5] | |
# Destructuring assignment | |
a, b, c = numbers |