Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ok i just downloaded lua

Name: Anonymous 2015-05-17 1:14

I immediately started working on implementing my infinite compression algorithm but ran into some problems. This is what I have so far

a = {1,2,3}
print(a[0]);


When I try to run this it prints nil? WTF???

Name: Anonymous 2015-05-17 1:35

>>1
That means it's working. In Lua, the zeroth element always represents a compressed version of the object using infinite compression. You can override this behaviour by setting the value explicitly but it is against the style guide.

Name: Anonymous 2015-05-17 4:33

>>1
I don't understand how the creators could possibly have thought 1 based indexing in an embeddable language was a good idea. There's a lot of things in Lua that just feel like creating differences for difference's sake. It's a blot on an otherwise decent language.

Name: Anonymous 2015-05-17 4:51

Every time I see people using Lua as their 66 Extension language 99, I send out a smelly fart and leave.

Name: Anonymous 2015-05-17 18:09

>>4
? What shoud they use then

Name: Anonymous 2015-05-17 18:12

>>5
Perl, obviously.

Name: Anonymous 2015-05-17 18:56

>>6
Lol'd.

Name: Anonymous 2015-05-17 21:09

>>4
Even with all its flaws, it's still a better language than Python. The latter succeeds more for the usefulness of its standard library than by any virtue of the language itself.

Name: Anonymous 2015-05-17 21:21

I hate python so much. So very much!

Name: Anonymous 2015-05-18 0:40

>>8
But Perl is better than Python and Lua so it's not really worth discussing.

Name: Anonymous 2015-05-18 1:15

>>10
Does perl have proper tail calls? Not implying it's necessary for it to be good, just curious.

Name: Anonymous 2015-05-18 17:07

>>5
A lisp

>>8
Both are shit.

Name: Anonymous 2015-05-18 18:50

>>10
$#%LOL.

Name: Anonymous 2015-05-18 21:45

>>12
A lisp
But what if they are not a queer?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List