Peak Objects
نویسنده
چکیده
I was aware of a need for object-oriented programming long before I learned that it existed. I felt the need because I was using C and Lisp to build mediumsized systems, including a widely-used text editor, CASE and VLSI tools. Stated simply, I wanted flexible connections between providers and consumers of behavior in my systems. For example, in the text editor anything could produce text (files, in-memory buffers, selections, output of formatters, etc) and be connected to any consumer of text. Object-oriented programming solved this problem, and many others; it also provided a clearer way to think about the problems. For me, this thinking was very pragmatic: object solved practical programming problems cleanly. The philosophical viewpoint that “objects model the real world” has never appealed to me. There are many computational models, including functions, objects, algebras, processes, constraints, rules, automata – and each has a particular ability to model interesting phenomena. While some objects model some aspects of the real world, I do not believe they are inherently better suited to this task than other approaches. Considered another way, what percentage of classes in the implementation of a program have any analog in the real world? In the mid-’80s, when I was learning about objects, it was frequently said that objects could not be explained, they must be experienced. Sufficient experience would lead to an “Ah ha!” insight after which you could smile knowingly and say “it can’t be explained... it must be experienced.” This is, unfortunately, still true to a degree. Many students (and programmers) do not feel comfortable with dynamic dispatch, the higher-order nature of objects and factories, or complex subtype/inheritance hierarchies. Advanced programmers also struggle to design effective architectures using advanced techniques – where the best approach is not obvious. In what follows I describe some long-standing myths about object-oriented programming and then suggest future directions.
منابع مشابه
Opposite perceptual and sensorimotor responses to a size-weight illusion.
The perceptual size-weight illusion (SWI) occurs when two different-sized objects with equal mass are lifted in sequence: the smaller object is consistently reported to feel heavier than the larger object even after repeated lifting attempts. Here we explored the relationship between sensorimotor and perceptual responses to a SWI in which the smaller of the two target objects in fact weighed sl...
متن کاملExtreme Synchrotron BL Lac Objects Stretching the Blazar sequence
We performed an observational program with the X–ray satellite BeppoSAX , to study objects with extreme synchrotron peak frequencies (νpeak > 1 keV). Of the seven sources observed, five revealed or confirmed their extreme nature. Four showed peak frequencies in the range 1–5 keV, while one (1ES 1426+428) displayed a flat power law spectrum (αx = 0.92 ± 0.04) which locates its synchrotron peak a...
متن کاملThe effects of visual object priming on brain activation before and after recognition
BACKGROUND Recognizing an object is improved by recent experience with that object even if one cannot recall seeing the object. This perceptual facilitation as a result of previous experience is called priming. In neuroimaging studies, priming is often associated with a decrease in activation in brain regions involved in object recognition. It is thought that this occurs because priming causes ...
متن کاملThe Temporal Evolution of Coarse Location Coding of Objects: Evidence for Feedback
Objects occupy space. How does the brain represent the spatial location of objects? Retinotopic early visual cortex has precise location information but can only segment simple objects. On the other hand, higher visual areas can resolve complex objects but only have coarse location information. Thus coarse location of complex objects might be represented by either (a) feedback from higher areas...
متن کاملIntraday variability in X-ray selected BL Lacertae objects
We present a study of the intraday variability behaviour of two samples of X-ray selected BL Lac objects, the EMSS and EXOSAT samples consisting of 22 and 11 sources, respectively. In both samples we were able to detect intraday variability in less than 40% of the sources only. The duty cycle (the fraction of time, when a BL Lac object is variable) in X-ray selected BL Lac objects is 0.4 or les...
متن کاملIntraday variability in x - ray selected BL
We present a study of the intraday variability behaviour of two samples of x-ray selected BL Lac objects, the EMSS and EXOSAT samples consisting of 22 and 11 sources, respectively. In both samples we were able to detect intraday variability in less than 40% of the sources only. The duty cycle (the fraction of time, when a BL Lac object is variable) in x-ray selected BL Lac objects is 0.4 or les...
متن کامل