Shop OBEX P1 Docs P2 Docs Learn Events
Lenguaje spin — Parallax Forums

Lenguaje spin

P@BLo8P@BLo8 Posts: 4
edited 2013-10-30 15:06 in General Discussion
Good with everyone, I'm new to the Parallax Propeller Demo board. I want to use for my graduation project. No Spin programming language and want to learn. It is a programming language for object-oriented but want start please someone can tell me the differences or similarities with respect to any other object-oriented program with which I have already some experience.


Thank you.
Pablo

Comments

  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2013-10-26 06:58
    Hello Pablo and welcome to the forum.

    SPIN is a fairly basic interpreted language. In fact the interpreter is only 2K in size within the prop chip. The language is quite powerful,though. I would describe it as one that uses objects rather than a true object oriented language. The use of objects is great because it gives you a big head start in development because there are so many objects.

    To learn spin,check out the online tutorials, help file, or the spin/propeller book on the parallax website. That said, you can also learn about the prop in propeller c on learn.parallax.com where you can do C or even true oop in C++. Propeller also has BASIC and Forth.

    Good luck.
  • P@BLo8P@BLo8 Posts: 4
    edited 2013-10-29 13:47
    Gracias por tu colaboraci
  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2013-10-29 16:48
    Si te hace falta m
  • P@BLo8P@BLo8 Posts: 4
    edited 2013-10-30 06:12
    Gracias por tu inter
  • jazzedjazzed Posts: 11,803
    edited 2013-10-30 08:57
    Hi.

    Welcome to the forum.

    Differences between Spin and some other object oriented languages.

    1. No object inheritance.
    2. No polymorphism.
    3. No function overloading.
    4. No constructor (or destructor).
    5. No "local" or stack object instances.
    6. Object references can't be passed to other objects.
    7. Data in an object is always private, never protected or public.
    8. No implicit allocation or garbage collection.

    This is just a list. It is not a judgement of value.
  • P@BLo8P@BLo8 Posts: 4
    edited 2013-10-30 15:06
    Thank you very much for your contribution. It has been useful.
    good luck
Sign In or Register to comment.