News for hackers. Stuff that matters.
Re:Linguistics and Programming Languages by slaymaker1907 on Monday July 17, 2017 @07:19PM (#14793114)
There are already constructs like this. In all programming languages, you see variable names like data or result all over the place. Additionally, when using the python interpreter, there is a special variable _ for the last expression evaluated.
Re:Linguistics and Programming Languages by sriku on Tuesday July 18, 2017 @07:34AM (#14795730)
"it" is common in that sense, but muse additionally models "the" as a function that turns verbs into nouns - like we do. For example,

    (open-file "blah" 'for-writing)
    (write (the open-file) "hello world")
    (close it)
Or

    (length (list "milk" "pudding"))
    (print "number of items is " (the length))
Re:Linguistics and Programming Languages by euyyn on Monday July 17, 2017 @10:39PM (#14793930)
Either Kotlin or eXtend already have "it" for the default variable name of single-parameter lambdas.