Difference between revisions of "Talk:Complete Roguelike Tutorial, using python+libtcod, part 2"

From RogueBasin
Jump to navigation Jump to search
m (Signing.)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


Eh...isn't <code>map</code> a built-in function? That could be problematic. [[User:Nnz|Nnz]] 00:30, 24 August 2011 (CEST)
Eh...isn't <code>map</code> a built-in function? That could be problematic. [[User:Nnz|Nnz]] 00:30, 24 August 2011 (CEST)
Not only is <code>map</code> built in, but <code>object</code> is, too. [[User:Wonkoderverstaendige|Wonkoderverstaendige]] ([[User talk:Wonkoderverstaendige|talk]]) 00:50, 23 May 2013 (CEST)

Latest revision as of 22:50, 22 May 2013

I don't want to go editing a tutorial when I'm just a newb myself, but I had to engage in an annoying bughunt before I realized that there were not one but two underscores on either side of the "__init__" part of the object definitions. Maybe I'm just green and this sort of thing should be obvious, but I'd suggest someone with a little more familiarity could weigh in and decide to edit the tutorial to point this fact out or just tell me that I'm a n00b.

I added the note; sorry for the late reply. Nnz 00:30, 24 August 2011 (CEST)

Eh...isn't map a built-in function? That could be problematic. Nnz 00:30, 24 August 2011 (CEST)

Not only is map built in, but object is, too. Wonkoderverstaendige (talk) 00:50, 23 May 2013 (CEST)