Create account / Log in

Custom Code Development

Discussion area for the development team.

Moderators: Tim M, uckelman

Custom Code Development

Postby mroyer » January 3rd, 2013, 1:54 pm

I was going to post a question in the "Module Design" forums regarding best Java IDE to use to develop some custom code classes for a VASSAL 3.2 module and ask for some general tips on getting going (I have a fair amount of C#.NET on Visual Studio IDE experience, but no Java experience whatsoever).

But...
I was scanning some of the VASSAL 4.0 discussion and it appears Java will become deprecated in favor of C++ (have I got that correct?). If so, when is VASSAL 4.0 targetted for release; is it near term like this year, or far term in several years? Should I mush onward and go through the effort of learning Java/Java IDE and write my custom code for VASSAL 3.2 or should I jump on board VASSAL 4.0 and write in C++ (if that's even possible yet).

On the one hand, I want to minimize being overwhelmed by learning curves for obsolete development paths; but on the other hand, I don't want to wait too long to develop the code.

Recommendations?

Thanks,
-Mark R.
mroyer
 
Posts: 166
Joined: March 4th, 2011, 5:06 pm
Location: Massachusetts

Re: Custom Code Development

Postby uckelman » January 9th, 2013, 9:26 pm

Thus spake mroyer:
> I was going to post a question in the "Module Design" forums regarding
> best Java IDE to use to develop some custom code classes for a VASSAL
> 3.2 module and ask for some general tips on getting going (I have a fair
> amount of C#.NET on Visual Studio IDE experience, but no Java experience
> whatsoever).
>
> But...
> I was scanning some of the VASSAL 4.0 discussion and it appears Java
> will become deprecated in favor of C++ (have I got that correct?). If
> so, when is VASSAL 4.0 targetted for release; is it near term like this
> year, or far term in several years? Should I mush onward and go through
> the effort of learning Java/Java IDE and write my custom code for VASSAL
> 3.2 or should I jump on board VASSAL 4.0 and write in C++ (if that's
> even possible yet).

I'm expecting that we'll release V4 demos throughout 2013, but I'm not
willing to commit to when we'll reach feature parity with V3.2.

Any custom code you'd be writing for V4 would be in Python, not C++, as
only the core will be in C++. Module scripting wil be in Python. The API
you'd need to code against doesn't exist yet, but will exist sometime in
2013.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Custom Code Development

Postby mroyer » January 10th, 2013, 4:51 am

So... I know I'm asking you to speculate and that's always a slippery slope, but...

In your opinion, the better path is to learn Java and Java IDE to create custom extensions, then down the road convert them to python, because v4 release is so far out? (I know... I know... as I'm typing the question I'm realizing only I can really answer that.)

That's a good Java IDE? Eclipse?

-Mark R.
mroyer
 
Posts: 166
Joined: March 4th, 2011, 5:06 pm
Location: Massachusetts

Re: Custom Code Development

Postby uckelman » January 11th, 2013, 12:41 pm

Thus spake mroyer:
> So... I know I'm asking you to speculate and that's always a slippery
> slope, but...
>
> In your opinion, the better path is to learn Java and Java IDE to create
> custom extensions, then down the road convert them to python, because v4
> release is so far out? (I know... I know... as I'm typing the question
> I'm realizing only I can really answer that.)

Are you saying that you don't know Java now?

Can you describe what it is that you want your extensions to do?

> That's a good Java IDE? Eclipse?

I would say there is no good Java IDE, as a special case of there being
no good IDE for anything. I code in vim and am quite happy doing that.
I realize that this is not what everyone wants, though. Some other people
use Eclipse.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Custom Code Development

Postby audiemurphy67 » March 12th, 2013, 1:12 pm

A good IDE is Sublime Text 2. I have seen long time emacs users switch to Sublime because it works very well.

John
audiemurphy67
 
Posts: 22
Joined: January 28th, 2012, 4:41 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest