Another Class / Instance metaphor
I'm finding a useful metaphor that resonates with my students is the fast food franchise, or really and chain store, petrol station chain or whatever. class KFC: """defines how long to cook the chicken in what batter, also signage, branding"""
restaurant_on_sandy_blvd = KFC(lat_long) # from Google KML file
shows a specific restaurant getting stamped out by the cookie cutter class template. Here in the USA, we define ourselves in terms of strip malls with franchises. "What's America without White Castle?" Or at least that resonates with some people. Organized religions work the same way. Kirby
On Thu, Feb 19, 2015 at 9:20 AM, kirby urner <kirby.urner@gmail.com> wrote:
I'm finding a useful metaphor that resonates with my students is the fast food franchise, or really and chain store, petrol station chain or whatever.
sentence = sentence.replace("and chain", "any chain") Here's the illustration to go with the previous post: https://flic.kr/p/owivJq (Anywhere, USA) Kirby
Twas pointed out to me off list that just about all the industrialized nations have this same strip mall look and feel, the same franchises everywhere. So where do Americans get off thinking it expresses their culture in particular? I think USAers are uniquely prone to identify all that "lo glo" of neon lit freeway signs ('Anywhere, USA' below) as "American" because they recognize the lifestyle as what they celebrated post WW2 and evangelized during an expansionist era, with one of the biggest McDonald's in Guam. But of course Ben & Jerry's is a subsidiary of the Anglo-Dutch Unilever and Budweiser is owned by a Belgium-based company. Globalization means i18n i.e. customizing one's image to meet local community wants and needs (or to develop them where necessary :-D). http://listverse.com/2008/10/19/top-10-american-icons-that-are-not-american/ Partly why I advocate using the franchise model to teach class / instance in OO is I'm literally interested in applying Python in the world of burger flippers, in part to rescue these low paid workers from dead end jobs, but also to inspire a few to take their emerging systems analysis skills on a deep dive into a career in whatever company's management. As they say on Twitter, for a CEO of today to admit not knowing about IT, is like admitting knowing nothing of Finance. Running a fast food chain is definitely a job for software engineering, even if some people prefer working in bombs over food (armaments being the USA's hallmark export, fast food much lower on the food chain). Kirby On Thu, Feb 19, 2015 at 9:28 AM, kirby urner <kirby.urner@gmail.com> wrote:
On Thu, Feb 19, 2015 at 9:20 AM, kirby urner <kirby.urner@gmail.com> wrote:
I'm finding a useful metaphor that resonates with my students is the fast food franchise, or really and chain store, petrol station chain or whatever.
sentence = sentence.replace("and chain", "any chain")
Here's the illustration to go with the previous post: https://flic.kr/p/owivJq (Anywhere, USA)
Kirby
_______________________________________________ Edu-sig mailing list Edu-sig@python.org https://mail.python.org/mailman/listinfo/edu-sig
participants (2)
-
kirby urner
-
Kirby Urner