« first day (473 days earlier)      last day (2883 days later) » 

8:52 PM
I am having trouble understanding why the default repr's implementation isn't more informative.
 
no
just no
 
This answer on http://stackoverflow.com/a/2626364/3646408 `states having a default for __repr__ which would act like:

return "%s(%r)" % (self.__class__, self.__dict__)
would have been too dangerous (for example, too easy to get into infinite recursion if objects reference each other). `
 
garlic
5 messages moved from Python
 
9:42 PM
noone in the rails room so I came here to ask those with more knowledge than I have about the subject matter. I am just beginning to learn ruby on rails and I am trying a simple Hello World project but after I create the server using rails server and go to set up the route so that the new project will show up instead of the ruby welcome screen I get an uninitialized constant WelcomeController
 
1 message moved from Python
 
yes I know however I figure since the ruby room was empty I may find some help in here
 
1 message moved from Python
 
cbg!
According, to this answer stackoverflow.com/a/23192800/3646408 . If I override the __len__() for built-ins, it make no difference because python will never call it. Is it implementation dependent and it true for some other special methods as well?
 
lol:D
where's my popcorn
 
9:53 PM
4 messages moved from Python
 
Wasn't that a valid question? if possible please tell how I improve the question.
 
1 message moved from Python
@AbhishekBhatia we have already explained why you are no longer welcome to ask questions in the room.
 

« first day (473 days earlier)      last day (2883 days later) »