Jump to content

Stanford CS106A

- - - - -

  • Please log in to reply
1 reply to this topic

#1
cyvre

cyvre

    Newbie

  • Members
  • Pip
  • 7 posts
Im currently trying out the Stanford CS106A course by watching the videos online and doing the assignments posted on its site.

Have any of you had any previous experienced with this course? is it good?

Stanford CS106A

#2
VakhoQ

VakhoQ

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
I think, it's very good :) I have downloaded good quality videos from the torrent;

Everything is well, but only one thing that I don't understand is that they sometimes use "acm.program" Package; what do you think about this Package, is it good to learn?




Package acm.program Description

This package provides a set of classes that simplify the creation of programs. The package includes four abstract classes, each of which uses a particular paradigm for input and output, as follows:

Program - This class is the root of the program hierachy and defines a program in which input and output are performed using the system console, which is redirected to the standard Java I/O streams System.in and System.out.

ConsoleProgram - This class is similar to Program but fills the program frame with an interactive console (as defined in the Console class in the acm.io package).

DialogProgram -This class extends the basic functionality of the Program class so that input operations are performed using the DialogIO class in the acm.io package.

GraphicsProgram - This class is similar to Program but fills the program frame with a GCanvas (as described in the acm.graphics package).

The principal advantages of using the Program class are:

The conventional pattern of use associated with the acm.program package moves students away from the imperative style of public static void maininto a more pedagogically defensible framework in which students are always working in the context of an object.
The Program class allows Java applications to double as applets, thereby making it possible for intructors to use either paradigm in a consistent way. Even for those instructors that choose to focus on the application paradigm, using the Program class makes it much easier for students to make their code available on the web. Moreover, because the Program class is defined to be a subclass of Applet, applications that run in that domain can take advantage of such applet-based features as loading audio clips and images from the code base.
The Program class includes several features that make instruction easier, such as the definition of standard menu bars that support operations like printing and running programs with a test script.
The classes in the acm.program package offer a compelling example of an inheritance hierarchy that introductory students can understand and appreciate right from the beginning of their first course.
GNU/Linux Is the Best.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users