Lenguaje spin
P@BLo8
Posts: 4
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
Thank you.
Pablo
Comments
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.
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.
good luck