Lua Language
Does anyone know it and would you care to discuss it with me? I'm learning it at the moment and it seems like a strange mix of higher and lower level programming, all thrown into a blender set to chunky.
|
There's a reference manual on their website if that helps: http://www.lua.org/docs.html
|
There is a huge section about lua scripting on the Facepunch forums.
http://www.facepunch.com/forums/65 It might help a lot. Personally, I know nothing about lua. Sorry :( |
I'm currently learning it from Lua.org
It's an odd language... which I suppose makes it quite apt |
Is it as diverse as C++ or Java though?
|
I'm fluent in Luau.
|
Lua is a nice programming language,you can make nice games with it,well the sad bit is i knew how to program in lua but with years my knowlege of it decreased into nothingness :(
|
I believe LUA was the programming language used for the random level generator for Doom called 'Oblige'.
I think it contained some open source LUA code used to write it, it may be of use to you... |
I'd like to learn LUA, it seems really interesting. A whacky sort of language it is, seems like fun but I'm still trying to learn C++ and GML.
|
GML leads more naturally into Java, but I'd recommend learning Python first. It means you can get your head around object orientation without being swamped with Java's stupidity.
|
Hm, thanks for the tip actually. I've really been meaning to learn Java at some stage, it's good that I'm not too far into C++. I'll give Java a shot when I'm confident with GML.
|
:
|
I don't mind Python because it makes more sense than other languages. I will admit that the whitespace syntax is annoying.
|
:
I just started coding with Python a month or two back. I'm not sure if I'd recommend it to a beginner, because any other language after Python is going to be painfully difficult. But I'd recommend it to any experienced programmer; shit is so easy and quick to do in it. |
I dabbled in python whilst in high school. I've mostly just been gently trying to learn C and C++ via osmosis (Stacking a bunch of books around me and hoping I somehow absorb their knowledge through my pores).
I'm pretty fluent in Actionscript 3, which in turn is very similar to javascript. I'd recommend AS3 to anyone, simply because it's easy to learn and you can start seeing visual representations of your code very quickly, which in turn makes it feel more rewarding. I'm beginning to get my head around the Lua way of thinking, it's just it's strangely cobbled together way of managing object orientated programming puts me off balance. I think it is definitely a C derivative. |
I think for the university course I want to do we learn Python, Java and then C++.
Python seems to be quite a universal language because its basic and apparently easy to learn. C++ is a bitch though. |
Python's good because it's not stupid like Java or C++. You can learn the basics of OO programming without worrying about the little idiosyncrasies that make other languages challenging.
Having to state the implicit parameter in methods is a bit annoying though. |
I wouldn't say C++ was stupid; just some of the higher level stuff takes some contemplation before it starts to make sense. I found the whitespace thing in Python a little frustrating, but not hugely so.
|
Worst thing of all is finding out how to begin programming, where do you start and is there anything you need to know before you wade through your iostreams? That's the £1,000,000 question that's so far taken me two years to try and work out.
|
Buy a goddamn book on the language you're trying to learn. I spent a few months not really learning Java through online tutorials, so I bought Java Concepts by Cay Horstman. It's well written and I'm actually making decent progress now.
|
Ah, I bought a C++ book by...a guy...err, I dunno, I'm terrible because I'm the kind of person that tries to sprint before he can even crawl, or like even, shuffle along on his arse.
I think I want to start with an easier language than C++ though. Especially when I'm just about average at maths. |
Scrabtrapman, get yourself a copy of flash CS5.5, sit down, and do this tutorial:
http://www.flashmagazine.com/Tutoria...r_with_away3d/ you will also need to download away3D too, make sure you get the version the tutorial suggests, just because it will make life easier for you in the long run. Once you've ran through that tutorial you should have some nice knowledge on how to use AS3 and Away3D. The only thing you can do from then on is practice. Something I had a hard time getting my head around was classes. There's a good tutorial for that on the net which I will find for you once you need it. |
Is flash a good place to start? I was thinking python because it directly applies to my future uni course (God willing I get the grades x_x).
|
Looking forward to that classes tutorial. It took me a while to get my head around it - not the syntax, but how to use it - what should be made an object, what should be separate and what should be a decendant.
I put so much thought into it that by the time I started actually using it, it came quite naturally. How well I did objectively remains to be seen. |
:
Edit: And comparing C++ to Python makes no sense ;) |
I've got a bit of experience in Pascal language (just a bit - they teach it on our IT lessons in school), it's easy to learn if you ask me, but gosh, if you look at code structure, it looks really dumb sometimes... And I don't think it's any useful for a future programist - I mean: are there any cool modern apps written in Pascal? I know only hedgewars.org
|
:
|
Scrabtrapman, don't spend too long just thinking about it. Python is worth learning, but it takes a while until you can see any fruits of your labours. Flash and AS3 is good because it gives you the chance to see your code doing something very quickly. Seeing that you're accomplishing things on the screen makes it easier to carry on.
Learning AS3 may not be the most widespread of languages (although with flex and air it may become much bigger) but it's concepts are pretty much universal in terms of Object orientated programming. Learning something easy to learn will set you up for the harder stuff to come. :
If you make your own mistakes, the lessons stick much more readily. |
:
:
|
Well yes, but that's what forums are for. I wouldn't be at the level I am at AS3 if I hadn't spent so much time on the Kirupa forums helping other people.
|