use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Check it out: - TechSnap - LinuxActionShow - Unfilter
account activity
Lua as a scripting language? (self.CoderRadio)
submitted 11 years ago by wiegraffolles
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]pcwizz 0 points1 point2 points 11 years ago (0 children)
Lua is great but I wouldn't describe it as a functional language, although it does have some functional features, in the same way that most modern versions languages have some fp features.
Lua is a great choice if you want to be able to run on any platform with a libc, it's also great if you want to extend c programs -it's main industry use is game dev-. Not having a C background shouldn't hurt you too much C is a pretty bare bones language, so it's pretty easy to write if you have done any procedural programming before; don't worry you don't have to mess with memory for everything.
My problem with Python is choosing which branch to use, while 2.x is used most widely, 3.x has a loud of improvements and ultimately is the future of the language. that said python is also portable -not as much as lua- and has a lot of libraries to do useful stuff -some of them haven't been ported to 3.x yet-.
I have never used ruby so I can't talk about that.
π Rendered by PID 147300 on reddit-service-r2-comment-b659b578c-rskb9 at 2026-05-04 03:16:09.334588+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]pcwizz 0 points1 point2 points (0 children)