[HN Gopher] Stages of Denial (2020)
___________________________________________________________________
Stages of Denial (2020)
Author : pabs3
Score : 25 points
Date : 2024-10-19 06:33 UTC (3 days ago)
(HTM) web link (beyondloom.com)
(TXT) w3m dump (beyondloom.com)
| phoe-krk wrote:
| (2020)
|
| Also see https://news.ycombinator.com/item?id=22504106
| msla wrote:
| My only "denial" when encountering high-church array languages is
| to deny them the precious brain space required to memorize their
| line noise syntax in order to be able to read them without a high
| ratio of comments to code.
|
| They're (poorly) aping mathematical notation without the
| properties that give actual notations their power to augment
| thought using symbolic manipulation, but the people writing code
| in such languages don't see the need to write like
| mathematicians; to wit, they don't write mostly in English and
| save their code snippets for apposite moments when they would
| illuminate as opposed to obscure. Haskell programmers at least
| have the taste to use names in their code.
| mikrl wrote:
| Most programming languages exist just because devs would rather
| write 1000 lines of spaghetti than see 7 ')'s at the end of a
| 100 line lisp program.
|
| /s
| 082349872349872 wrote:
| > _don 't see the need to write like mathematicians_
|
| Counterexample:
| https://dl.acm.org/doi/pdf/10.1145/1283920.1283935 (the 1979
| Turing Award Lecture)
|
| Counterexample: https://dfns.dyalog.com/max_impln.htm
| JadeNB wrote:
| Isn't the loop let max = list[0]; for
| (let i = 0; i < list.length; i++) { max =
| Math.max(list[i], max); }
|
| at the end just implementing the variadic `Math.max()` of
| JavaScript by pretending that it's binary? (I bring up JavaScript
| because the text _seems_ to indicate that 's the language in
| which the snippets are written: "You suggest an alternative,
| wincing slightly at the lambda notation you need to avoid running
| afoul of JavaScript's variadic Math.max(): ....")
| kstrauser wrote:
| Step 1: Huh, I wonder what some of those implementations look
| like?
|
| Step 2: https://codeberg.org/ngn/k/src/branch/master/a.c
|
| Step 3: Uh, I think I'm urgently needed elsewhere.
___________________________________________________________________
(page generated 2024-10-22 23:01 UTC)