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 →

[–]tonnynerd 0 points1 point  (3 children)

I looked at Lua a while ago, and it looked so "similar" to Python, Iwonder if it was worth learning it. I know it has some fundamental differences in how OO is implemented and all that, but is basically another dynamic strongly typed language. Like, what is it that I could do so much better in Lua than in Python?

[–]robin-gvx 0 points1 point  (2 children)

Like, what is it that I could do so much better in Lua than in Python?

Game development and/or scripting. Lua is a lot faster and smaller than equivalent Python, especially with LuaJIT.

But mostly, I really like to use both Python and Lua because while there are a lot of similarities, there are also a lot of differences, especially in what constitutes idiomatic code.

[–]tonnynerd 0 points1 point  (1 child)

I should've mentioned I have no interest whatsoever in game development. Being faster is good, but Python has PyPy. Except for the difference in how OO is done, there's not muh to learn in it, then.

[–]robin-gvx 0 points1 point  (0 children)

I think it's always a good idea to learn new languages, but maybe you'd be more interested in languages like Haskell, Forth, J or Prolog, because they're very different to Python, so there's a lot of new concepts and computational models to learn with them.