Video here: http://www.youtube.com/watch?v=7Qsic1xmPKs
At SoundCloud we ask candidates to send us some code before inviting them in for interviews. Candidates can use whatever language they want, and over the past year we saw a massive rise on the number of submissions using server-side JavaScript. Unfortunately, too many submissions are asynchronous blobs of procedural code. Let's talk about how to leverage good old Functional Programming techniques to make code less coupled and more readable!
— https://secure.trifork.com/cph-2012/freeevent/index.jsp?eventOID=4353
Function Composition: The top reason node.js submissions get rejected by SoundCloud
1. Function Composition:
The top reason node.js
submissions get rejected by
SoundCloud
Phil Calçado - SoundCloud
@pcalcado
http://philcalcado.com
Friday, May 11, 12
7. Phone
Code Review
Interviews
Offer
Friday, May 11, 12
8. Phone
Code Review
Interviews
Offer
Friday, May 11, 12
9. you can choose any language.
% of submissions on the past ~6 months
40
30
20
10
0
Ruby Java JavaScript (Node.js) C Clojure Scala
Friday, May 11, 12
10. you can choose any language.
rejected before interview invited for inverview
40
30
20
10
0
Ruby Java JavaScript (Node.js) C Clojure Scala
Friday, May 11, 12
11. you can choose any language.
rejected before interview invited for inverview
40
WTF?
30
20
10
0
Ruby Java JavaScript (Node.js) C Clojure Scala
Friday, May 11, 12
12. we are all hipsters
http://bit.ly/J1aLNn
Friday, May 11, 12
19. “SICP and some of the Sussman & Steele "Lambda
the ..." papers made a big impression on me years
before, although I did not understand their full
meaning then.
Remember, I was recruited to "do Scheme" [...] My
interest in languages such as Self informed a
subversive agenda [...]. Likewise with first-class
functions, which were inspired by Scheme [...]”
http://bit.ly/JFbZt8
Friday, May 11, 12
51. How to Design Programs - http://bit.ly/K0BfrL
Structure and Interpretation of Computer
Programs - http://bit.ly/K0BjYm
The Art of the Metaobject Protocol
http://amzn.to/K0BqU1
Purely Functional Data Structures
http://amzn.to/JFn4KG
Let Over Lambda - http://amzn.to/IMMkNO
An Introduction to Lambda Calculi for Computer
Scientists - http://amzn.to/IX8d1B
All drawings are available as t-shirts from the
awesome Diesel Sweeties -
http://dieselsweeties.com/
Friday, May 11, 12