Results 1 to 4 of 4
  1. #1
    javalav is offline Member
    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0

    Default Stanford cs106a outdated?

    I've begun the online Stanford classes and have just reached lecture 4 which includes acm packages.
    The codes seem to be different from other standard java codes I've seen such as println() in the lecture seems to be system.out.println everywhere else.

    Are the lectures still relevant to 2012 and should I proceed with the acm packages?

  2. #2
    Zyril is offline Senior Member
    Join Date
    Oct 2011
    Location
    Sweden
    Posts
    124
    Rep Power
    0

    Default Re: Stanford cs106a outdated?

    What is your question, really? I can't tell if the CS106A is outdated, but I can tell you that System.out.println(); prints to the console.

    Look how it is phrased:

    System.out.println();

    This tells us that System is a class in the Java standard library. It's not a reference to an object of the class System, but the name of the class itself.
    Out is thus a static variable in the class System.
    Println() is then a method in the class.

    I think you have to progress a bit further in the course. I hardly doubt that it's outdated for learning purposes. The java standard library is always expanded with new stuff, and at the same time some stuff gets deprecated, meaning it's not recommended to use it any more, though it will still work.

  3. #3
    javalav is offline Member
    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0

    Default Re: Stanford cs106a outdated?

    Thanks for replying. What I mean, is that there seem to be different codes in the lecture. The lecture doesn't use the standard full "System.out.println()" phrase but rather a short simple - "println ("hello world)" - which seems to be a shortcut way of writing the standard code, using acm packages.

    So the question is, before I progress further in the lectures, how important is the fact that instead of using what seems to be current standard code, it uses acm packages which enable shortcuts of the code?

  4. #4
    Zyril is offline Senior Member
    Join Date
    Oct 2011
    Location
    Sweden
    Posts
    124
    Rep Power
    0

    Default Re: Stanford cs106a outdated?

    Well, standard is NOT the acm packages, so I would just continue without it. See it as a good way of learning!

Similar Threads

  1. Stanford CS106a Hangman exercise
    By Newbieprogrammer in forum New To Java
    Replies: 17
    Last Post: 08-27-2012, 08:16 PM
  2. Stanford CS106a breakout assignment
    By Newbieprogrammer in forum New To Java
    Replies: 3
    Last Post: 08-14-2012, 10:18 AM
  3. Stanford CS106a GraphicsHeirarchy
    By Newbieprogrammer in forum New To Java
    Replies: 0
    Last Post: 07-15-2012, 07:37 PM
  4. Stanford cs106a
    By D.good in forum Introductions
    Replies: 1
    Last Post: 02-04-2012, 06:18 PM
  5. CS106A Stanford University
    By Learning Java in forum New To Java
    Replies: 116
    Last Post: 07-09-2011, 04:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •