|
| 09 May 2013 06:15 PM |
FIrst off, don't TL;DR this post XD. I had a lot to say, you can skim it if you want, you will probably get the idea by skimming it.
Ive heard (rarely on ROBLOX itself, but a lot on other sites) that ROBLOX Lua is completely different from regular Lua and it is a "bad" starter scripting language.
I know a LOT of ROBLOX Lua, and have several books on regular Lua, and they are pretty identical, so I don't see why some are saying this. ROBLOX Lua is pretty much regular Lua minus the operating system and file operations, and plus the ROBLOX Object-Oriented stuff.
Object-Orientation is a great start to computer programming. One of my regular Lua books explains how to use Lua to create video games, and it shows that you need another aplication with built-in functions for that application to create games in Lua. Hence why ROBLOX Lua is a PERFECT starting language, or overall language for creating things, and is not at all a "waste of time" to learn and that most of it "won't matter in other languages". You learn Lua, plus object-oriented skills with ROBLOX, which do come in handy.
To give a specific example, one of the built-in functions in one of the applications for game development with regular Lua is Sound.new("Sound"), which creates a new sound.
ROBLOX has the instance.new function (Instance.new()) to create new ROBLOX objects the same way (Ex: Instance.new("Part") creates a new part).
I see VERY little difference. I know that everybody here will agree with me probably, as this is ROBLOX. But have you talked with any of these people who say this stuff, because I believe I just proved above that ROBLOX Lua is not that much different than regular Lua. It is almost identical, besides the object oriented parts, which are used in the same sort of way in applications for advanced game development, so why in the world do some people insult ROBLOX Lua???
Please answer!
-- cardgamechampion/AlternativeAcc
|
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
| |
|
|
| 09 May 2013 06:17 PM |
| Roblox's edition of Lua is for lazy people, like me. That's why. |
|
|
| Report Abuse |
|
|
|
| 09 May 2013 07:11 PM |
How is it for lazy people? I have regular Lua books, and it seems like almost the same deal, with the Lua langage + customization to fit with a certain program. ROBLOX is more object-oriented, but all the programs in the book seem to be at least somewhat object-oriented too.
Give me a specific reason why ROBLOX Lua is much simpler than any other programming language, because I think it isn't, and I've read books on regular Lua.
@TL;DR guy, read first sentence at least XD. |
|
|
| Report Abuse |
|
|
|
| 09 May 2013 07:45 PM |
"so why in the world do some people insult ROBLOX Lua"
I guess maybe because they just don't like ROBLOX in general. Or how lots of useful functions and libraries or locked.
I don't really understand how it's a "bad" starter scripting language. It's used in a lot of fun games like Garry's mod (Sorry about being a bit biased here). I guess because everyone is dragged into Python and other scripting languages and they believe Lua might be terrible compared to the one they are using currently, maybe due to it's usage now? Honestly, I don't know for certain |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 09 May 2013 08:05 PM |
Who ever said Lua was a bad programming language to start out? Can I get a link or reference - I can't really imagine someone saying it's *bad,* I can see someone saying it's not optimal, but not really *bad*...
Anyway, ROBLOX is my go-to programming place because I know the API. Could be better, but it was definitely worse. |
|
|
| Report Abuse |
|
|
|
| 09 May 2013 08:07 PM |
When I said it was a "bad' language, I was reffering to ROBLOX Lua, not regular Lua. I think that ROBLOX Lua is a really good start and it is not at all different than any other programming language, including Lua itself. It may be a bit like making Lua like Javascript, as I have heard that Java (or Javascript???) is more object-oriented based than any other language, but ROBLOX Lua is definately heavily object-oriented based.
I don't know much about other langauges, but I know a LOT about Lua. I know a lot about ROBLOX Lua, and have read regular Lua books while understanding about half the stuff XD. (These books are written for adults I would imagine), and find overall little difference in them.
Both ROBLOX Lua and these books show how Lua customized into an object-oriented language can be very powerful and allow for fun, fast, and easy game development.
I don't see at all how ROBLOX Lua is so much "different" than normal Lua. |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
| |
|
|
| 10 May 2013 07:50 AM |
ROBLOX Lua is a great starting language for game developers. It really gives you the idea of programming. If you master it I am sure it won't be THAT hard to learn other programming languages. |
|
|
| Report Abuse |
|
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 10 May 2013 07:57 AM |
I can't imagine someone said Lua is a bad language, because I can't see a reason why it is. Yes - it's a scripting language, not a programming language, which is a difference.
I also don't see how it's a big difference, because it isn't. As you said, just some removed OS operations and some added roblox stuff. |
|
|
| Report Abuse |
|
|
|
| 10 May 2013 08:39 AM |
| It's not as bad as javascript! |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 10 May 2013 11:01 AM |
tl ;;;;;;;;;;;;;;;;;;;;~~~~~~~~~~~~~~~~~~~~~~~~~~~dr
greetings hue man |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 10 May 2013 12:32 PM |
The person probably didn't know Lua himself.
@Sn0x, Booing: This is why we can't have good things ;_; |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 10 May 2013 12:37 PM |
@myrco,
what
why
what was in the post
give me a tl;dr version pls
greetings hue man |
|
|
| Report Abuse |
|
|
|
| 10 May 2013 05:38 PM |
| Lua and Roblox's implementation of Lua are exactly the Same. Roblox has just appended their own stuff to the API and removed some unnecessary features/libraries. |
|
|
| Report Abuse |
|
|
|
| 12 May 2013 10:57 AM |
| Exactly, so why do some say ROBLOX Lua is nothing like normal Lua, it's pretty much identical since normal Lua is a language made to be customized with added functionality in programs/games like ROBLOX. I think that ROBLOX Lua is a great language to learn, and it is not as simple as many say. The object-oriented stuff at the beginning may be, but just look at the RbxGui library and come back to me telling that stuff is easy XD (Of course, if you are a very advanced scripter you will find that easy, but the beginner-intermediate would make no sense from it, thus showing how complicated it is). |
|
|
| Report Abuse |
|
|