The easiest way to learn how to program


Closed Thread
Results 1 to 20 of 20
  1. #1
    T.Jackson's Avatar
    T.Jackson Guest

    Default The easiest way to learn how to program

    I'm learning an educational programming environment called "Alice" at the moment for uni. Alice allows you to build 3D programs by dragging & dropping items as apposed to written syntax. I think this is a fantastic way to learn object orientated programming. Alice is free and can be downloaded here; http://www.alice.org/ I think this is definitely the future of programming in many years to come.

  2. #2
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Sorry, make that "object based" programming.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    From the web site
    Alice is a freely available teaching tool designed to be a student's first exposure to object-oriented programming.
    I think you were correct the first time.

    This looks like fun. Might be the thing for one of my kids. Thanks!
    Dave
    Always wear safety glasses while programming.

  4. #4
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    From the web site

    I think you were correct the first time.

    This looks like fun. Might be the thing for one of my kids. Thanks!
    Definitely not bud. Strict rules apply for any language to be classified as object orientated. This includes having polymorphism and inheritance traits. Wikipedia confirms this. Alice is object based at best. OOP was a typo.

  5. #5
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Differences between the two: http://stason.org/TULARC/software/ob...nd-Object.html

    Alice has taught me nothing about inheritance or polymorphism yet, but I'll keep at it (might be there somewhere)

  6. #6
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Trent
    This includes having polymorphism and inheritance traits.
    FYI, I found this at alice.org -
    Quote Originally Posted by http://www.alice.org/index.php?page=faq
    Does Alice support polymorphism?
    polymorphism

    Unfortunately, Alice does not support this sort of functionality directly. There are a few ways around this, but they aren't nearly as elegant as the solution you're looking for. The first way to do this is to write a method external to the objects in the list (off of world) that takes an object as a parameter. If then go to any object's questions and scroll down to "other", you'll find the question called "object"'s part named "key". This question lets you any part on an object--whether it's there or not (it will throw an error if you try to reference a part that doesn't exist, so be aware of that when using it). You can then write a generalize method that takes in any given chicken and has it look for food. If you don't want to deal with the "part named" question, then the other option is to write a similar function but use if/else statements to determine which chicken is passed in.
    Wisdom is knowing what path to take next... Integrity is taking it.
    Ryan Miller

  7. #7
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rhino View Post
    FYI, I found this at alice.org -

    If then go to any object's questions and scroll down to "other", you'll find the question called "object"'s part named "key". This question lets you any part on an object--whether it's there or not (it will throw an error if you try to reference a part that doesn't exist, so be aware of that when using it).
    Thanks for pointing that out. Has a sort of like "instance of" function I guess. It's quite confusing the way that's worded, seems like there's missing words or something.

  8. #8
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Thumbs up

    Quote Originally Posted by T. Jackson
    It's quite confusing the way that's worded, seems like there's missing words or something.
    No kidding! None the less.... I downloaded Alice storytelling for my 12 yr old and he loved it. He's never been exposed to any programming, except the stuff I do around the house. (Which nobody in our household finds cool, but me) He would have been working with it until midnight if we let him. I'm hoping it will give him a foundation for programming even if he doesn't realize it. Thanks for posting the link!
    Wisdom is knowing what path to take next... Integrity is taking it.
    Ryan Miller

  9. #9
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rhino View Post
    No kidding! None the less.... I downloaded Alice storytelling for my 12 yr old and he loved it. He's never been exposed to any programming, except the stuff I do around the house. (Which nobody in our household finds cool, but me) He would have been working with it until midnight if we let him. I'm hoping it will give him a foundation for programming even if he doesn't realize it. Thanks for posting the link!
    No problems. I certainly feel very good knowing that I've made someone happy. Shame the project is no longer being updated.

  10. #10
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I have three kids playing with this. They think it is much more fun than blinking LEDs
    Thanks for sharing it Trent.

    But I wonder what you mean.
    Quote Originally Posted by T.Jackson View Post
    Shame the project is no longer being updated.
    When I read this.
    http://www.alice.org/index.php?page=...rogress_report
    Dave
    Always wear safety glasses while programming.

  11. #11
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    I have three kids playing with this. They think it is much more fun than blinking LEDs
    Thanks for sharing it Trent.

    But I wonder what you mean.

    When I read this.
    http://www.alice.org/index.php?page=...rogress_report
    No problems. Opps, I think I jumped the gun with that statement about it no longer being updated. The splash screen is dated 2005, so an assumption was made.

  12. #12
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    No problems. Opps, I think I jumped the gun with that statement about it no longer being updated. The splash screen is dated 2005, so an assumption was made.
    Well I would have been disappointed if you were correct. I can see this being I will use with my kids even if they did stop development.

    Another interesting thing. The system requirements state Win 200, XP, Vista. Storytelling Alice also runs on Win98. The box has a 266mhx cpu and 96 mb ram.

    Now I know what to do with my junk pile. I will soon have the neighbor hood kids busy.
    Dave
    Always wear safety glasses while programming.

  13. #13
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Very impressive -- definitely part of what the future holds. Unfortunately Alice isn't a commercial programming language, it's purely intended to be an educational "tool".

  14. #14
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    Very impressive -- definitely part of what the future holds. Unfortunately Alice isn't a commercial programming language, it's purely intended to be an educational "tool".
    Thats what I mean. Set up a few of these old machines, haul then to the local library (not allowed to install programs on theirs) and have kids come in and play. The librarian is cool with it too.


    The only thing I hope to gain personally from it is a little more floor space in my shop.
    Dave
    Always wear safety glasses while programming.

  15. #15
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Here's another one similar to Alice except that it's more specific to games rather than just an educational tool. Game maker can create standalone executables. http://www.download.com/Game-Maker/3...-10070683.html

    Personally, I prefer written syntax, probably because I've been programming for so many years and have become a bit "stuck in my ways", and I find visualizing written syntax problems far easier. Once again -- probably because I've been programming for so long.

    But yesterday I finished my first assignment for Alice, hoping for a good mark

  16. #16
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Personally, I prefer written syntax
    Me too. Command line on my linux boxes are my friend.
    But seems like most young people these days need the visual.
    Dave
    Always wear safety glasses while programming.

  17. #17
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    I reckon it'll be many years before Alice like programming becomes commercial and widely accepted as the way of doing things. Game Maker has a hybrid like schema whereas you can use a combination of drag-and-drop plus written syntax. I think this is the way to go.

  18. #18
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    I reckon it'll be many years before Alice like programming becomes commercial and widely accepted as the way of doing things. Game Maker has a hybrid like schema whereas you can use a combination of drag-and-drop plus written syntax. I think this is the way to go.
    I don't know... rhino might think differently with his ladder logic Rockwell icon.
    http://www.ab.com/programmablecontro...cosoftpro.html
    Dave
    Always wear safety glasses while programming.

  19. #19
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Like anything I guess -- there has to be a business need for it to begin with (this is the first part of the SDLC -- Software Development Life Cycle), and secondly it takes time to catch on. Won't be easy getting so many people to switch over from product that they're already satisfied with. Costs big money to have people retrained. Alice will remain a toy for at least the next decade.

  20. #20
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    I don't know... rhino might think differently with his ladder logic Rockwell icon.
    I certainly think there is a time and place for it. For example... the ladder logic, designed specifically for electricians. I haven't met one yet who hasn't taken to it and wanted to learn more about programming with it. But on the other hand, to me.... it "feels" like you have more power at your disposal in a syntax driven environment. Not sure that's true in all cases.
    Wisdom is knowing what path to take next... Integrity is taking it.
    Ryan Miller

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Replies: 1
    Last Post: - 23rd May 2009, 09:22
  3. Compile and Program help using PICKit2
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th March 2009, 14:51
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 14:30

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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