What programming language should I learn?

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.

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.

You should learn Java programming language first.

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.

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.

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 :slight_smile:

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

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 :slight_smile:

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.

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

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).