Page 1 of 1

[solved] Pointless question: why "t"?

Posted: Sun Apr 14, 2013 7:22 am
by T-Bone
Something I've never understood but never bothered to find out: in https://love2d.org/wiki/Config_Files, the argument to love.conf is "t". Why "t"? Is it short for something? Just wondering :neko:

I'd say "game" or something like that would make more sense. Not that it really matters.

Re: Pointless question: why "t"?

Posted: Sun Apr 14, 2013 8:55 am
by Jasoco
I've wondered this myself. Does it matter if it's a t? Is t significant? Or is it just arbitrary?

Re: Pointless question: why "t"?

Posted: Sun Apr 14, 2013 9:03 am
by Ragzouken
I assumed it was short for table.

Re: Pointless question: why "t"?

Posted: Sun Apr 14, 2013 9:34 am
by bartbes
Ragzouken wrote:I assumed it was short for table.
That.

Re: Pointless question: why "t"?

Posted: Sun Apr 14, 2013 9:36 am
by Robin
Note that in your own games, you can name it whatever you want: game, cool_coolcoolcool, theargumenttoloveconfthatpointstotheconfigurationtable, ...

Also interesting: in boot.lua, the same table is called c (presumably for "configuration").