THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/07/2011 at 12:17, xxxxxxxx wrote:
I want to know what do you recommend me to do first: learn C++ or COFFEE? They're alike right? But what's the big difference?
On 29/07/2011 at 12:46, xxxxxxxx wrote:
It all depends on your previous experience.
It's generally much easier to learn Coffee first. Then advance to C++.
But if you're already comfortable with C++. You might be ok going straight to C++.
Thinking big picture. There's a lot of differences between Coffee and C++. But very simple C++ code is really nothing more than Coffee using types instead of "var".
I've got an intro to C++ tutorial that might help you see how Coffee and C++ relate to each other when creating simple plugins: Scripting in C4D
It might help you decide which way to go.
There is also Python in C4D as a possible option too.
On 29/07/2011 at 12:56, xxxxxxxx wrote:
Thanks for the answer Scott!
I already learn a little bit of COFFEE, but there aren't much tutorials of COFFE, so I thought it would be better to learn C++. A very big advantage of C++ is that is very useful in other things (I'm looking for languages more powerful).
I'm going to watch your tutorials, let's see if you can help me! If you can recommend me something, it would be of great help!
A last question, coding with C++ you need also a Plugin ID, right?
On 29/07/2011 at 14:00, xxxxxxxx wrote:
You'll need a plugin ID for any plugin. But you can create simple dialog based scripts that have GUI interfaces that "look" like plugins. That don't need an ID.
The downside is that they are modal(meaning C4D is frozen until you close it). So it's not something most people choose to use.
C++ is a very strong language. But it's going to take a while to learn it.
It's worth the time if you plan on coding in things other than C4D. Just be prepared for a very long learning curve.
The biggest downside to using C4D and C++ is that there are no beginners courses and forums for it.
Even if you learn C++ from another tutorial website or books. You'll still have to learn the specific proprietary code that Maxon uses with it. I found that out the hard way.
It's not enough just to learn C++. You have to also learn how Maxon uses C++ in their own specific way. Again with little or no beginners tutorials to help you.
Because of all that. Most people tend to learn Coffee or Python first.
There are tons of Coffee and Python examples compared to C++.