6092 comments
2357 subscribers
6240 on Twitter
Subscribe! Feed reader E-mail

CS21A plans — education

Graphics IO Applet, interfaces

Arrays

searching, sorting, etc

Polymorphism already

From that point on, they can do games,
so games would be the final project

loop; they can kinda do threaded things. My plan is, Graphics IO
Applet, introduce them to interfaces, and then from there we go to
arrays. Then searching, sorting…

Swing?

Another project – Martin is playing around with this thing called
processing from the Media Lab. An environment for doing graphics.
Supposed to be friendly to non-programmers. Supposed to be easier
learning curve. It’s a little like Graphics IO Applet. In Graphics IO
Applet, you have to create an object. Here, you just override a method
and put all the draw commands. Possible project. Beef up and clean up
IOApplet and GraphicsIOApplet to be something like processing.
Processing builds up; you have a simple non-programmer way of doing
it…

http://www.proce55ing.net/reference/compare/processing_java.html

Framework. That’s going to be a little hard to think about…
Scaffolding.

Big picture – framework, pedagogical structure, modules

addButton returning a button, and then later on…

alice
designing the interfaces easy for a beginner to use
specifically for oop first programming

need public class
look at bluej, which is more of an ide/environment

dr. sarmenta doesn’t want a preprocessor. Mostly just things that they
extend or implement. We want them to learn how to use the compiler.

Unlike proce55ing, don’t hide the detail; expose it a little at a time.

Eric’s doing something similar with his class. He writes the code and
then they gradually replace parts of it.

Martin has the source code for proce55ing.

Front-end learning lab; they can upload their code and select from
different ones…

Each student writes his own class, and then someone ties everything
into a single thing.

The class takes an input, does things, and produces output. Filters;
that’s an interesting idea also. There are a lot of branches that we
can go into also in terms of design patterns. What I want to do now is
that if we’re going to discuss inheritance and polymorphism in CS21A,
and real AWT and real Swing in A, then we can free up the time to do
design patterns in CS21B.

(I miss my Twiddler!)

Maybe we can introduce patterns in CS21B by showing them patterns
they’ve done before. For example, listeners would be a case of the
observer design patterns. We should look into that. For example, given
a problem, this is how you can solve it… It becomes a pattern to
them even if they don’t know it. Cookbook. Delegation.

We need to be organized about our own patterns for teaching. Toward
the end, lecture on design patterns highlighting.
Problem-solving/cookbook based approach. _Intentional teaching._

Back to proce55ing. Design by numbers.

In the beginning, if you’re a graphic designer, then you’ll probably
go off into that from GraphicsIOApplet directly.

Standard version, movie-making version, python version.

The g dot whatever makes sense.

piece of paper passed around analogy

Magical thing about mouse listeners and instanceof

Short URL: http://sachachua.com/blog/p/991

On This Day...

  • 2012: Thinking about how to learn how to manage others — I’m curious about this because I’ll need it in order to scale, and because it’s one of those universal things. [...]
  • 2011: Weekly review: Week ending August 19, 2011 — From last week’s plans Work [X] Tidy up project M some more [X] Shepherd paperwork for project T [-] [...]
  • 2010: Backyard trades — We live in a semi-detached house and often chat with our immediate neighbors, Dan and Jen. Their kids sometimes come [...]
  • 2008: BarCampManila — BarCampManila drew over 80 people. There were 16 presentations ranging from 5 to 7 minutes each. What an amazing turnout! [...]
  • 2008: The Leisure of Work — Many people hate working during vacations. Others hate going on vacations with people who stay just as connected to the [...]
  • 2008: Many hats: Technical writer — I just spent the last three days updating the administrator’s guide and related documentation for the Transition2 project, making pretty [...]
  • 2006: Networking for Geeks: Advertise with your laptop! — UPDATE: See http://sachachua.com/advertise-on-my-laptop.html Want to meet interesting but don’t want to have to make the first move? Use the back of your [...]
  • 2006: Darn, can’t find my first-aid kit — I can’t find the first-aid kit that Diane Lazaro assembled for me before I left for Canada. I know I [...]
  • 2006: Three questions for success — Via the Business Opportunities Weblog comes this awesome story about Farrah Gray, who made his first million by age 14. [...]
  • 2006: Bought a sari — Toronto has all these wonderful little neighborhoods. I’ve been meaning to go to Little India to buy a sari for the [...]
  • 2006: MBA elective courses — I’ve missed the deadline for the Fall MBA courses, but I might be able to squeeze my way into 2012HF: Entrepreneurship, [...]
  • 2006: Research report: Met with Mark — Met with my research supervisor, Mark Chignell. Told him about the cool stuff I’d seen at IBM Cambridge’s InternFest last [...]
  • 2006: Come and hang out at BarCampEarth! — Geek? Come to BarCampEarth. Organize one near you if you have to. In Toronto? Come to BarCampEarthToronto, Aug 26 to 27. [...]
  • 2006: Living with others and living alone — The residence assistant introduced himself to me and explained that my roommate Kristin would be moving to another room for a [...]
  • 2006: Trying something new — I’ve decided to do something about my media deficit. ;) Yesterday, we did a trial run of a video party. As [...]
  • 2006: Cellphone — Okay, I have officially settled in now. ;) I used 437:08 local minutes and sent 579 text messages from July 12 [...]
  • 2006: Credit card — Finally sorted out a Canada-based credit card. Yay! I no longer have to course credit card purchases through the Philippines, getting dinged [...]
  • 2006: Upcoming BarCamp — Reviewing my months-old inbox, I came across a conversation with Justin Wiley about their BarCamp, the geek un-conference I like [...]
  • 2006: Whoa, maybe I’m onto something here — Lots of people commented on my entry about wanting to get into the clothing business. I’ve updated the entry with [...]
  • 2005: Tired but I’m happy — Yes, this is one of those how-was-your-day posts. You can skip over it if you want. =) I tried returning my bike [...]
  • 2005: Surround yourself with exceptional people — Steve Pavlina advises people to surround themselves with exceptional people. It’s advice found in many self-improvement books as well, and [...]
  • 2005: Pictures from the lab — Calum put up pictures of one of our lab meetings. I’m the leftmost girl in pictures 2 and 3. You [...]

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging

Free sample!