Memo: A language that remembers only the last 12 lines of code (danieltemkin.com)

by notem 36 comments 59 points
Read article View on HN

36 comments

[−] dcre 43d ago
How exciting, I get to be the pedant: it’s “stream-of-consciousness,” not “stream-of-conscious.” Conscious is an adjective; there can’t be a stream of it.
[−] rendall 43d ago
I see your pedantry, and raise it one more!

Through substantivization one can definitely have stream-of-. Think "a stream of blue" or "a stream of the poor".

People often shave off the tail of well-known expressions:

“same difference” → “same diff”

“no big deal” → “no big”

“It’s no big.”

“fair enough” → “fair”

“Fair.”

“good enough” → “good enough” → “good”

“Yeah, that’s good.” (implies good enough)

“I don’t know” → “dunno”

[−] latexr 42d ago

> People often shave off the tail of well-known expressions

Though typically not in writing, that’s more of a speech thing.

[−] psychoslave 43d ago
On the other hand English is highly imbued with lake of morphological inflection and other explicit lexicalization by grammatical type. So this is really just following the main stream tendency.
[−] efilife 43d ago
I think the same when I see "your subconscious". No, it should be "your subconsciousness"
[−] globular-toast 43d ago
This is how British people feel every time we read "full-featured".
[−] nofriend 43d ago
It's a noun too
[−] omoikane 43d ago
I think it's actually the last 10 lines of code, not 12. I just wrote these 10 lines:

   Remember A as forty-two
   Tell me about A
   Remember B as A
   Tell me about B
   Remember C as B
   Tell me about C
   Remember D as C
   Tell me about D
   Remember E as D
   Tell me about E
And you can see how it plots the dependencies as a graph on the right, which is kind of neat. But when I add the 11th line:

   Remember F as E
You see the graph being turned into a forest with no dependencies, because it has forgotten the root dependency A. Indeed, if you enter "Tell me about A", it will say it does not remember A.

Another neat thing to try is:

   Remember x as zero
   Remember y as x
   Remember x as y
[−] dlcarrier 43d ago
In my country, we call that an interactive shell.

Fun fact, if you run Python from a command line, with no options, it defaults to such a shell.

[−] addaon 43d ago
Needs a compiler for the Mill architecture.
[−] NooneAtAll3 43d ago
why does the knob in the top right corner do nothing?
[−] lexcamisa54 42d ago
reminds me a
[−] stitched2gethr 43d ago
This is intriguing.

On another note, I do not understand how posts make it to the top of the front page with essentially no comments.

[−] lexcamisa54 43d ago
[dead]