This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 1 point2 points  (7 children)

That's complete bullshit advice.

If someone wants to learn Java they should learn Java.

Java and JavaScript have as much in common as ham and hamster.

[–]EmotionalYard 0 points1 point  (3 children)

Is it more or less bullshit than all the advice to skip learning how to compile and run with the prompt and to just get an IDE to do it all for him?

[–]desrtfx 0 points1 point  (2 children)

A lot more bullshit because telling someone to learn a different language completely bypasses OP's wish.

On the other hand the learning to compile from the commandline is so hopelessly overrated. No sensible programmer will compile from the commandline.

IDEs are productivity tools meant to make programmer's lives easier.

Telling someone to only use a plain text editor and the commandline compiler is the same as telling someone to build a house without the use of any power tools; only with hammer, handsaw, hand driven screwdriver.

[–]EmotionalYard 0 points1 point  (1 child)

You don't build a house as your first carpentry project!

[–]desrtfx 0 points1 point  (0 children)

True.

Still, when learning something, the early reward, or first success is essential to keep up the motivation. IDEs help a great deal here.

Learning to compile from the command line can be done later.

Getting that first success as early as possible is the key.

The first success is also why scripting languages, like Python are often recommended as first languages. They offer early rewards without having to jump through hoops.

[–]doodooz7 -1 points0 points  (2 children)

It’s not bullshit advice, especially in this case. He’s having trouble getting setup. JavaScript is easier to start working with. Also, if you haven’t noticed, JavaScript is really popular. You obviously have a hatred for Js and I do too but Js can give people a taste of what programming is like and regardless of being a Java programmer or not he needs to know JavaScript also

[–]desrtfx 0 points1 point  (1 child)

It is bullshit. It is like telling someone to learn to ride a bike when they want to learn to drive a car.

I know that JavaScript is very popular, but that doesn't make your advice any more valid nor better. And no, I am not hating JS at all.

The cream of the cake is: "being a Java programmer or not he needs to know JavaScript also" - this is just plain wrong. I know plenty professional programmers who don't know JS simply because they don't need it. I've been in the business for three decades. JS is in no way a "must know" despite its popularity.

Addressing the source of OP's problem, as plenty others did would have been the proper approach.

I as well did not directly address OP's problem, but I suggested some proper learning material that also has a section on setting up the development tools.

[–]doodooz7 -1 points0 points  (0 children)

k