Page 1 of 1

What programming language should I learn?

PostPosted: October 2nd, 2015, 7:35 am
by 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.

Re: What programming language should I learn?

PostPosted: October 5th, 2015, 10:00 pm
by uckelman
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.

Re: What programming language should I learn?

PostPosted: July 23rd, 2018, 12:09 pm
by neosphere
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.

Re: What programming language should I learn?

PostPosted: November 20th, 2018, 8:15 pm
by akulkis00
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.

Re: What programming language should I learn?

PostPosted: November 20th, 2018, 9:32 pm
by 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.

Re: What programming language should I learn?

PostPosted: November 28th, 2018, 11:34 pm
by uckelman
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.

Re: What programming language should I learn?

PostPosted: November 29th, 2018, 8:05 pm
by 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 :)

Shoving everything into the browser is really driving me nuts lately (and a direct cause of the surge of bloated Electron apps).

Re: What programming language should I learn?

PostPosted: November 29th, 2018, 8:09 pm
by uckelman
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.

Re: What programming language should I learn?

PostPosted: December 6th, 2018, 9:44 pm
by Jardic
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

Re: What programming language should I learn?

PostPosted: February 25th, 2019, 6:45 am
by sha664817
In this way spake digicube:

> Never code yet have structured a couple of vassal modules. What programming

> language would it be a good idea for me to figure out how to be a superior vassal creator? Java, Java

> content, and so on? Any online sites to suggest? I think about

> codeschool.com.

That relies upon what you need to structure for - the present form of

VASSAL, or the following one. In the event that you need to compose custom classes for V3.2,

you have to learn Java. On the off chance that you need to compose custom code for V4, the

plan is that you'll require JavaScript (which has nothing at all to

do with Java).