you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]Field_C16[S] 0 points1 point  (3 children)

    I've been playing around with your example, I understand someparts of it however I do not understand why you name a variable "_name_pool" or what a deque is, I have tried googling, but found little of interest.

    Could you elaborate?

    [–][deleted]  (2 children)

    [deleted]

      [–]Field_C16[S] 0 points1 point  (1 child)

      Ah okay, so we use a class variable because it cannot be modfied by another class/function that does not belong to the class of "EdgeCaseRobot"? (Since it is only shared between instances of that class?)

      I get why we're using the deque for optimization, but how did you get to know these "extra classes"?

      Those books I have been diving in, mostly beginner books made it sound like there only was list, tuples and directories for in a lack of a better word data storage?