If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Learning Ruby .. from C++ any suggestions
6 posts
• Page 1 of 1
Learning Ruby .. from C++ any suggestions
Most of my programming knowledge is with C++ .. coming to FlowStone has prompted me to learn Ruby. I quickly google search to make sure learning Ruby is worth it. After making my own opinion I don't know why I didn't try it sooner. I'm currently using http://tryruby.org it was what popped up for ruby tutorial. However to anyone here who started from ground zero with ruby and flowstone as I have. I am open to your suggestion on what site taught you ruby in ways that helped you apply such knowledge with FlowStone.
Lastly .. I want to tap the powers of WinAPI32 in ruby as I have done in c++. How does one begin doing this ? (Maybe I'm diving in too fast first I should learn basics of Ruby before using Win API calls ? or will it just be syntax change in ruby using API calls?).
Lastly .. I want to tap the powers of WinAPI32 in ruby as I have done in c++. How does one begin doing this ? (Maybe I'm diving in too fast first I should learn basics of Ruby before using Win API calls ? or will it just be syntax change in ruby using API calls?).
- CodyOebel
- Posts: 19
- Joined: Mon Sep 07, 2015 6:40 pm
Re: Learning Ruby .. from C++ any suggestions
I never heard of Ruby before Flowstone. I have a programming experience with pretty much all script-like languages, uncountable BASIC dialects, Python, game-specific constructors and the like.
My first steps into Ruby were to analyse one of the examples from DSPr and checking ruby-doc.org for pretty much everything I found. I prefer to learn at my own pace, so I used google a lot for specific issues, but no teaching sites.
As long as you are already comfortable with OOP, Ruby is very easy to learn. I like that unlike C++, there's no strict formal way (.h, .cpp, .rc, etc.), but rather it's left to you to organize your code as you prefer.
I would recommend to get comfortable with Ruby before making use of API calls. They use Ruby specific data types that you should be familiar with.
My first steps into Ruby were to analyse one of the examples from DSPr and checking ruby-doc.org for pretty much everything I found. I prefer to learn at my own pace, so I used google a lot for specific issues, but no teaching sites.
As long as you are already comfortable with OOP, Ruby is very easy to learn. I like that unlike C++, there's no strict formal way (.h, .cpp, .rc, etc.), but rather it's left to you to organize your code as you prefer.
I would recommend to get comfortable with Ruby before making use of API calls. They use Ruby specific data types that you should be familiar with.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Learning Ruby .. from C++ any suggestions
I think Flowstone to be not the best way to learn Ruby. FS just use ruby in a "script", "no-paradigm" way that no one would recommend. Just my 2cents
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
-
CoreStylerz - Posts: 327
- Joined: Sun Jan 22, 2012 2:19 am
- Location: italy
Re: Learning Ruby .. from C++ any suggestions
Thank you all for your contributing statements and advise. Aside from teaching myself ruby programming. I am teaching my 8yr old son Raiden. I got him started with basic web-design using word-press, but I want him to get his hands dirty with "Code". His website is www.RaidenScience.com ... Thus far tryruby.org seems to be quite a fun learning site. Personally for myself I guess I stubbornly teach myself everything from bottom up.
DSPRobotics has a "Klionge game" that I believe Carl Owens made a brief video of. In it.. is much ruby code. So before I try to teach my 8yr old son how to use flow-stone I felt it would benefit him to know a bit of ruby, so he can edit ruby code when making FlowStone projects.
I for myself just downloaded a ruby windows installer. My reasons nothing more than to learn all about Ruby. I have to say being a C++ novice programmer. Ruby just .. "Makes sense" ... it's such a practical language how can you not love ruby lol.
DSPRobotics has a "Klionge game" that I believe Carl Owens made a brief video of. In it.. is much ruby code. So before I try to teach my 8yr old son how to use flow-stone I felt it would benefit him to know a bit of ruby, so he can edit ruby code when making FlowStone projects.
I for myself just downloaded a ruby windows installer. My reasons nothing more than to learn all about Ruby. I have to say being a C++ novice programmer. Ruby just .. "Makes sense" ... it's such a practical language how can you not love ruby lol.
- CodyOebel
- Posts: 19
- Joined: Mon Sep 07, 2015 6:40 pm
Re: Learning Ruby .. from C++ any suggestions
I found really interesting Ror (Ruby on rails) framework as a web ruby implementation. But i think Java is much better for making desktop apps and learning since the JVW is very powerful and the language itself its strictly OOP. for a learning purpose, i'll go to Java. It's really easy then to implement every OOP aspects in all languages like ruby, php, c# or een c++ if you have a good knowledge of Java.
The support of ide's like eclipse for Java is outstanding.
And making audio apps with total ruby (even with c calls) will not be faster than Java (it can also be worse ).
Since your son is really young, will be cool for him to learn some Javascript and PHP; they cover the basic client/server application (for web) and it's kind fast to have something done in minutes and say Yeah!
Especially Javascript, now is really @ the Top. It's used for dynamic websites including server side (node.js for example) and for making Mobile web apps (PhoneGap) and games (Unity ).
I personally don't like so much Ruby syntax, i rather prefer c derived syntax like java, php or Js. (e.g. Curly brackets, assigments, methods etc)
The support of ide's like eclipse for Java is outstanding.
And making audio apps with total ruby (even with c calls) will not be faster than Java (it can also be worse ).
Since your son is really young, will be cool for him to learn some Javascript and PHP; they cover the basic client/server application (for web) and it's kind fast to have something done in minutes and say Yeah!
Especially Javascript, now is really @ the Top. It's used for dynamic websites including server side (node.js for example) and for making Mobile web apps (PhoneGap) and games (Unity ).
I personally don't like so much Ruby syntax, i rather prefer c derived syntax like java, php or Js. (e.g. Curly brackets, assigments, methods etc)
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
-
CoreStylerz - Posts: 327
- Joined: Sun Jan 22, 2012 2:19 am
- Location: italy
Re: Learning Ruby .. from C++ any suggestions
I am also teaching myself Ruby and object oriented programming in general.
For kids I would like to advise a playfull programming language called "Scratch"." Google Blockly copied the concept.
https://vimeo.com/65583694
The video is just to funny and shows what Scratch is all about.
For kids I would like to advise a playfull programming language called "Scratch"." Google Blockly copied the concept.
https://vimeo.com/65583694
The video is just to funny and shows what Scratch is all about.
- Mr. Mac Snoer
- Posts: 17
- Joined: Sun Nov 08, 2015 1:05 am
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 54 guests