~/talk

From Javascript to Haskell : Functional Programming made simple

Talkat Voxxed Days Singapore 2018 · on Friday, 2018-06-01· [functional-programming, javascript]
links:none on file
slides:none on file

Live coding converts an imperative JavaScript movie-search into a pure functional pipeline, keeping tests and removing side effects by returning new arrays (concat instead of push) and moving mutation to the boundaries. Code shrinks from loops to reuse of filter plus small accessors, then to currying and point-free composition; lambdas replace named one-off functions. Resulting refactor runs the same tests, shows clearer data flow, and demonstrates the exact steps to translate everyday JS into functional style.

AI-written summary · about

  1. 0:00Functional programming journey
  2. 2:34Imperative vs functional basics
  3. 14:04Removing side effects
  4. 17:41Lambda functions and immutability
  5. 28:38Simplifying with filter and currying
  6. 30:25Refactoring business logic
  7. 47:20Why side effects matter
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.