5 ms·
But, what's always baffled me is the insistence on the Nouns as a central point of focus in our programs As opposed to what? LISP has lists, C has structs. T
by davidhansen 15y ago
But, what's always baffled me is the insistence on the Nouns as a central point of focus in our programs
As opposed to what? LISP has lists, C has structs. These are both nouns, and they are represented as memory-backed data structures in exactly the same manner that objects are. The boxes on a turing machine tape are nouns. What mystical language or platform supports verb-only development? I am completely missing the point of your objection to nouns, here. Please enlighten me.
- reuser 15y agoPossibly as opposed to 'verbs' (e.g. processes, mutations, transformations, open-ended mappings - descriptions of what is being done)
- throwawayplz 15y agobingo. In my mind, a program is something that accepts input, does some processing on that input, and produces output. To me, the "programming" should revolve around the processing, rather than around the internal representation of the input, intermediate data, or output.
- jinfiesto 15y agoThis is a fair point, but internal representation of the input can create drastic differences in how it's processed. Try writing an interpreter without tokenizing and parsing the text into some kind of AST. While this could be described as process, I think it proves that the internal representation of data matters.
- throwawayplz 15y agoNo argument here - not arguing against data structures, or standards for manipulating them. Mostly saying I prefer "Programs that operate on ASTs" than "ASTs have methods to operate on themselves."