To a first approximation, computational functionalism is the view that the mind is usefully thought of as a mechanical device, such as a computing machine. The core idea behind the mind-as-machine theory is that psychological entities should be understood in terms of what they do, rather than in terms of the stuff of which they are made. Thus computational functionalism departs from both traditional materialism and dualism, and exhibits some affinity with the behaviorist approach.