HackerTube

Monads and Gonads

Google TechTalks2 HN recommenders · recommended in 2 months, 2013–2022
YouTube
talk · intermediate · evergreen · 2013–2022 on HN

Douglas Crockford's Google Tech Talk explains monads without category theory or Haskell, implementing them in JavaScript and tying them to Ajax and promises. He also touches on odd asides such as coloring code by scope.

Often recommended as a demystifying monad talk in plain JavaScript, though some find it light on definitions.

11 comments from Hacker News

@scotty792019-10 · in “Learning Haskell is no harder than learning any other programming language”

The one thing that made monads clearer for me was this thing ▶ this video Monads and Gonads It's probably condescending for haskellers because it shows that monads are not some enshrined primary concept but just a kind of dumb wrapper you can write in any language and you do when it's useful for you.

Strongly recommends View on HN
@nnq2016-09 · in “In defence of Douglas Crockford”

also, this indirectly reminded me of what I thought to be one of DC's greatest talks: Monads and Gonads ( ▶ this video )

Strongly recommends View on HN
@sargstuff2022-10 · in “Ask HN: S/W development text editor have feature colorizing every iteration?”

combobulate (alpha quality as of 10/22): source code outline/cliff notes. from github README.rst "Emacs package that provides a standardized framework for manipulating and navigating your source code using tree sitter's concrete syntax tree " -> link link with link then write a iterator/loop query for language(s) editing per link tad less installation heavy (sorta) but also makes use of tree-sitter syntax queries : link (neovim with treesitter syntax) blockman usage examples: link Alternative examples / takes (per user interface): ### embedding a block of source code in a document: ** carrotsearch.gethub.io/apidocs/code-blocks ** link ### 'colorize blocking' (vs space endenting) : ** example code reference coloring: ▶ this video ### gui block programming : ** link ** link

@xook2021-09 · in “A case against syntax highlighting (2007)”

I went to find the video where I first heard him say something about syntax highlighting is for kindergartners ▶ this video It's an unfortunate comment since I struggle with word salad most days. Being able to skim and find certain blocks or aspects of a source file is preferable if I can't remember the name of something right away.

Critical View on HN
@wenc2018-06 · in “Railway-Oriented Programming (2015)”

Javascript promises are a kind of monad. Douglas Crockford talks about this in his talk "Monads and Gonads" [1] [1] ▶ this video