3 ms·
Pretty much every functional language is verb-initial, as are function calls as well as statements in most mainstream languages. Verb-final languages like Post
by kazinator 1y ago
Pretty much every functional language is verb-initial, as are function calls as well as statements in most mainstream languages.
Verb-final languages like PostScript and Forth are oddballs.
Embedded verbs are a thing of course, with the largest contribution coming from arithmetic expressions with infix operators, followed by certain common syntax like "else" being in the of an "if" statement, followed by things like these Python comprehensions and <action> if <condition> syntactic experiments and whatnot.
- PaulHoule 1y agoRight, his argument is in favor of the "fluent" syntax like table.where(...).select(...) that is typical in many OO interfaces, though you sometimes see a pipe syntax which would be autocomplete friendly in languages like Clojure https://clojuredocs.org/clojure.core/-%3E https://clojuredocs.org/clojure.core/-%3E or F# https://stackoverflow.com/questions/12921197/why-does-the-pipe-operator-work https://stackoverflow.com/questions/12921197/why-does-the-pi...