Jump to content

Photo

Lua to Java. Easy???


  • Please log in to reply
9 replies to this topic

#1 RichyRocker423

RichyRocker423

    Bit

  • Members
  • 1 posts

Posted 30 June 2014 - 08:26 PM

So I already know lua but I am wondering how easy java is to learn

#2 seakingtheonixpected

seakingtheonixpected

    Gigabyte

  • Members
  • 986 posts
  • LocationSomewhere beyond the sea

Posted 30 June 2014 - 09:04 PM

Lua looks a lot like Python or Ruby. If that is true than it shouldn't be too hard. Honestly going from one language to another usually isn't pretty hard (unless you are going from SQL to a procedural language).

 

Just pick up a Java book and to a quick run through it. The first few chapters can be breezed through since it will be mostly syntax for operations, loops, and functions. But once you get to the API stuff and Objects is probably where you will find stuff you probably didn't get in Lua.



#3 DeadChannel

DeadChannel

    Gigabyte

  • Members
  • 1,085 posts
  • LocationNotlob

Posted 01 July 2014 - 01:03 AM

Yeah, the second language is always way easier.


I'm fearful, I'm fearful, I'm fearful of flying, and flying is fearful of me.

#4 Randall

Randall

    Bit

  • Members
  • 4 posts
  • LocationMississippi, USA

Posted 07 July 2014 - 11:44 AM

I moved from Lua to Batch. Megabyte is exactly right that the second language is easier.


Hunter4408 aka Randall


#5 DeadChannel

DeadChannel

    Gigabyte

  • Members
  • 1,085 posts
  • LocationNotlob

Posted 07 July 2014 - 11:28 PM

I moved from Lua to Batch. Megabyte is exactly right that the second language is easier.

My name is Lando, in fact.


I'm fearful, I'm fearful, I'm fearful of flying, and flying is fearful of me.

#6 Randall

Randall

    Bit

  • Members
  • 4 posts
  • LocationMississippi, USA

Posted 08 July 2014 - 11:31 AM

My name is Lando, in fact.

Oh, I'm sorry! Didn't notice the rankings..


Hunter4408 aka Randall


#7 SushiKitten

SushiKitten

    Coffee Cat

  • Members
  • 1,911 posts
  • LocationCanada

Posted 08 July 2014 - 12:07 PM

I moved from Lua to Batch. Megabyte is exactly right that the second language is easier.

I'm sorry I know it was a mistake but I love it so much, haha.

 

And for sure, I agree. The second language is just figuring out the differences from the first language and going with it. By then you're already pretty good at reading code, so it's not hard at all.



#8 DeadChannel

DeadChannel

    Gigabyte

  • Members
  • 1,085 posts
  • LocationNotlob

Posted 08 July 2014 - 11:41 PM

Oh, I'm sorry! Didn't notice the rankings..

hehe, it's fine. 


I'm fearful, I'm fearful, I'm fearful of flying, and flying is fearful of me.

#9 imChristopher

imChristopher

    Byte

  • Members
  • 26 posts
  • LocationLaguna Vista, Tx

Posted 06 January 2015 - 03:56 AM

JavaScripting is very simple as long as you know how to make variables, functions, and using your 'if and then' statements



#10 Big_T

Big_T

    Kilobyte

  • Members
  • 242 posts

Posted 10 January 2015 - 08:34 PM

Coming from Python is 'easy', picking up Java. Especially if you understand the object-oriented part of Python (that was my experience). Ruby, Lua would/should be similar.

Just get your head around the syntax, and if you understand your loops well, hopefully the rest shouldn't be too arduous to learn.

A few years ago I did Visual Basic, but never really followed up on it, it was shit. I then did Python 3.x, Java 7, JavaScript (in that order) and felt it was the right way to go (not that I had a choice, at uni).

Old mate is right, just get a decent book and get stuck into it. Internet is great for referencing too. http://docs.oracle.c...ase/7/docs/api/

Find an IDE you like and start coding =)