Create account / Log in

What programming language should I learn?

Topics related to the main Vassal engine.

Moderators: Tim M, uckelman

What programming language should I learn?

Postby digicube » October 2nd, 2015, 7:35 am

Never code before but have design a few vassal modules. What programming language should I learn to be a better vassal designer? Java, Java script, etc? Any online websites to recommend? I know about codeschool.com.
digicube
 
Posts: 21
Joined: April 2nd, 2015, 1:02 pm

Re: What programming language should I learn?

Postby uckelman » October 5th, 2015, 10:00 pm

Thus spake digicube:
> Never code before but have design a few vassal modules. What programming
> language should I learn to be a better vassal designer? Java, Java
> script, etc? Any online websites to recommend? I know about
> codeschool.com.

That depends on what you want to design for---the current version of
VASSAL, or the next one. If you want to write custom classes for V3.2,
you need to learn Java. If you want to write custom code for V4, the
plan is that you'll need JavaScript (which has nothing whatsoever to
do with Java).

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

Re: What programming language should I learn?

Postby neosphere » July 23rd, 2018, 12:09 pm

digicube wrote:Never code before but have design a few vassal modules. What programming language should I learn to be a better vassal designer? Java, Java script, etc? Any online websites to recommend? I know about codeschool.com.


You should learn Java programming language first.
neosphere
 
Posts: 1
Joined: July 23rd, 2018, 11:58 am
Location: Kathmandu, Nepal

Re: What programming language should I learn?

Postby akulkis00 » November 20th, 2018, 8:15 pm

Oh, god, no. JavaScript is one of the worst languages I have ever worked with, save for BASIC when it was like stripped-down FORTRAN with mandatory line numbers. How can we get this changed.
akulkis00
 
Posts: 27
Joined: February 22nd, 2014, 11:51 pm

Re: What programming language should I learn?

Postby Malnorma » November 20th, 2018, 9:32 pm

akulkis00 wrote:Oh, god, no. JavaScript is one of the worst languages I have ever worked with, save for BASIC when it was like stripped-down FORTRAN with mandatory line numbers. How can we get this changed.


Someone will have an opinion like this for every possible language choice. Javascript includes a few terrible decisions, but it's acceptable enough, and better than using Java ever again.
Malnorma
 
Posts: 74
Joined: October 14th, 2015, 9:26 am

Re: What programming language should I learn?

Postby uckelman » November 28th, 2018, 11:34 pm

Thus spake Malnorma:
>
> "akulkis00" wrote:
> > Oh, god, no. JavaScript is one of the worst languages I have ever
> > worked with, save for BASIC when it was like stripped-down FORTRAN
> > with mandatory line numbers. How can we get this changed.
>
>
> Someone will have an opinion like this for every possible language
> choice. Javascript includes a few terrible decisions, but it's
> acceptable enough, and better than using Java ever again.

JavaScript has a lot of oddities, but it's also rapidly improving and
is supported by every browser. If you want the possibility of a
browser-based client, then that's much easier to do if the browser
can already run the module scripting language.

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

Re: What programming language should I learn?

Postby Malnorma » November 29th, 2018, 8:05 pm

I don't have a problem with the choice of Javascript, but a browser-based client would be right near the top of the list of things I don't care about :)

Shoving everything into the browser is really driving me nuts lately (and a direct cause of the surge of bloated Electron apps).
Malnorma
 
Posts: 74
Joined: October 14th, 2015, 9:26 am

Re: What programming language should I learn?

Postby uckelman » November 29th, 2018, 8:09 pm

Thus spake Malnorma:
> I don't have a problem with the choice of Javascript, but a
> browser-based client would be right near the top of the list of things I
> don't care about :)

There'd be no compulsion to use it---it won't be the sole client, and it's
not what I intend to use myself.

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

Re: What programming language should I learn?

Postby Jardic » December 6th, 2018, 9:44 pm

I am in the same boat as digicube,

So any recommendations as to Java books, YouTube links?
At this time I only want to learn to 'import custom classes' into Vassal'. And do we need to concentrate on a specific version of Java? I seem to remember seeing that Vassal only supports up to Java-5 and it seems that Java is up to 8/9?

I found a Java teaching video that uses the Eclipse interface for coding. I think this is the correct path?
Or am I going the wrong direction?

Kevin
User avatar
Jardic
 
Posts: 13
Joined: March 29th, 2018, 6:00 pm
Location: Phoenix Az


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest