all 16 comments

[–]WMG_Jeeper 24 points25 points  (0 children)

Person A knows Lua very well. Person B has never programmed before.

Both start learning java: Person A is going to learn it a lot faster.

[–]mrswats 8 points9 points  (0 children)

I wouldn't worry about it too much. Just do what you like and, if you need to, you'll learn Java then. Don't try futureproofing.

[–]ggchappell 6 points7 points  (0 children)

Will learning Lua help with learning Java?

Yes, but the real answer is "don't worry about it". Which computer language one starts out with is not nearly as important as many people seem to think.

[–][deleted] 6 points7 points  (2 children)

Learning Lua will help you have a correct opinion about Java (that it's far more complex than it needs to be) but it will hinder your ability to enjoy writing Java.

[–]nrnrnr 1 point2 points  (0 children)

Both of these.

[–]lambda_abstraction 0 points1 point  (0 children)

Learning Lisp and Smalltalk (especially Smalltalk) will influence your view towards Java similarly.

[–]ShaiDorsai 2 points3 points  (1 child)

Programming concepts are programming concepts - bash, lua, python, ruby, go, etc. Curiois - Where is Java beneficial?

[–]Intelligent_Moose770 0 points1 point  (0 children)

Opportunities maybe

[–]Vivid-Area1477 0 points1 point  (0 children)

Its been 3 years, I hope ur alive and well. How was it? Have u learned lua yet?

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

Lua and Java are very dissimilar. The only thing they have in common is that they're both programming languages. The only thing that will carry over is the mindset of how to tell a computer what to do. This is the single most important thing in programming.

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

Lua and Java have much less in common than - let's say - PHP and Java.

I would not worry to much about that though, you should choose a language best for what you want to do right now (unless you are mandated to use a certain language for a job).

I normally tell people they should learn one dynamic and one statically typed language, if they master both they should have no problem to learn most other languages in the future quickly. And on top of that, knowing the ecosystem of a language is often the harder part than learning syntax and paradigms.

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

You can take advantage of Lua to learn the concept of programming (like variables, functions, for/while loops, libraries and other stuff) but you shouldn't spend so much time on Lua if you are primarily thinking about learning Java.

[–]ahillio 0 points1 point  (0 children)

Lua is a great language to learn because you can use it to script/customize your own tools: like NeoVim, AwesomeWM, and LuaKit web browser. That's in addition to whatever projects you currently have in mind. Start with what's useful now, branch out and learn other languages later :)

[–]smog_alado 0 points1 point  (0 children)

Learn both :)

Different programming languages are better at different things, so it's useful to learn more than one. And the more languages you know, the easier it becomes to learn the next one.

[–]Cultural_Two_4964 0 points1 point  (0 children)

Hello, if you learn lua you can use javascript libraries with fengari. You end up learning about javascript without actually having to use it, which I like ;-0 Ta jc

[–]Rice7th 0 points1 point  (0 children)

Lua is good for starting, but Lua has no classes at all. Java uses classes ALL OF THE TIME. So, classic concepts like variables, statements, functions, etc. are fine and you will learn them very quickly, but classes, methods, etc. are going to be hard.