I remember how Python is an object oriented programming language with plenty of metaphors such as strings which are sort of like lines of characters, dictionaries which have key (words) and entries and heaps, property, stacks, queues, trees and turtle/plushie orca that Prof Heap brought to class which aren't exactly absolutely representational of what it is referring to.
Summary
Abstract Data Types (ADTs) are great example of concepts where metaphors are used. Firstly, the names of the ADTs we used in class and in labs are all metaphors. I think that because of the metaphors, they didn't seem too abstract to me. The reality of how the first two new ADTs introduced in this class, stacks and queues, were very similar came to me during Lab 3. Both were classes which manipulated lists using list methods to create stack and queue methods. Push, pop and is_empty and similar enqueue, dequeue and is_empty The fundamental difference between the two is that stacks can be summarized as First In Last Out or FILO while queues are First In First Out. The toughest part was implementing dequeue without changing the indices of the rest of the entries. I'll ask a TA about that after the strike. I found trees very difficult because its methods required lots of recursion. I especially had lots of trouble with recursive functions which returned lists.
As the course notes states, ADTs are a combination of data and behaviour. This fits in perfectly with the metaphors. For example, queues have data or the people who make up the queue and also the predictable pattern of how the people move.
As the course notes states, ADTs are a combination of data and behaviour. This fits in perfectly with the metaphors. For example, queues have data or the people who make up the queue and also the predictable pattern of how the people move.
I believe that it is absolutely essential that metaphors are used and taught in schools and in life because I believe that it is how our brains work. As the article points out, judges (at least in the US) use metaphors to create and change laws. A recent prominent example that the PBS Ideas Youtube Channel discussed (link below) is the case of net neutrality. Is the Internet like a common carrier like trucks and planes, buses, boats, pipelines and telephone lines or is it it's own category of information services to be more influenced by market forces? The answer will be the one which acts a better metaphor. We associate and make connections in order to learn more quickly about our environment and world.
However I also believe that it is also important to look beyond the metaphor. The authors of the article mentioned that "metaphors are encumbered with assumptions and when people use metaphors, they embed those assumptions in the discussion." I believe that the same is true when learning these concepts as well. For example, understanding trees proved to be very difficult for me because I was always picturing a physical living mostly made of water and carbon and oxygen branching up from the ground. I found it initially difficult to understand trees as I tried to flip them and used other metaphors like pyramids (because of the triangles). The recursive methods were the toughest because when I look at leaves, I don't have to start at the root, travel across the branches to the leaves and back again. Eventually, I did slowly start to understand the picture coming into place. Although metaphors are tremendously useful, they, as the authors of the article mention, carry their own baggage.
CBC Spark
http://www.cbc.ca/radio/spark/274-twitter-fiction-designing-a-grief-app-the-dangers-of-digital-metaphor-and-more-1.2936726/surfing-streams-and-clouds-the-dangers-of-digital-metaphor-1.2937081
PBS Ideas Channel Net Neutrality Video
https://www.youtube.com/watch?v=-ft-bU9tn5c
Article: 'The Cloud' and Other Dangerous Metaphors by Tim Hwang and Karen Levy
http://www.theatlantic.com/technology/archive/2015/01/the-cloud-and-other-dangerous-metaphors/384518/
CBC Spark
http://www.cbc.ca/radio/spark/274-twitter-fiction-designing-a-grief-app-the-dangers-of-digital-metaphor-and-more-1.2936726/surfing-streams-and-clouds-the-dangers-of-digital-metaphor-1.2937081
PBS Ideas Channel Net Neutrality Video
https://www.youtube.com/watch?v=-ft-bU9tn5c
Article: 'The Cloud' and Other Dangerous Metaphors by Tim Hwang and Karen Levy
http://www.theatlantic.com/technology/archive/2015/01/the-cloud-and-other-dangerous-metaphors/384518/