lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


You're coding Python and wondering why `foo.bar` raises an
AttributeError on the dictionary `foo`...

On Tue, Mar 4, 2008 at 9:59 AM, Matthew Paul Del Buono
<delbu9c1@erau.edu> wrote:
> I had a "for k,v in pairs" written out in Java the other day. I realized my mistake when I sat there for a minute trying to figure out what goes in "pairs," only to realize that wouldn't exactly work.
>
>  I think I needed sleep too...
>
>  -- Matthew P. Del Buono
>
>
>
>  ---- Original message ----
>  >Date: Wed, 05 Mar 2008 00:32:00 +0900
>  >From: Miles Bader <miles@gnu.org>
>  >Subject: You know you've been doing too much Lua coding when...
>  >To: "Lua list" <lua@bazar2.conectiva.com.br>
>  >
>  >... you find yourself writing C++ method calls using colons.
>  >
>  >[I _kept_ doing that today....]
>  >
>  >-Miles
>  >
>  >--
>  >Love is a snowmobile racing across the tundra.  Suddenly it flips over,
>  >pinning you underneath.  At night the ice weasels come.  --Nietzsche
>