tag:blogger.com,1999:blog-538313904544169736.post7503332801701659176..comments2023-09-03T08:24:19.643+00:00Comments on Computing Stuff: Cern Week 13Anonymoushttp://www.blogger.com/profile/17095655964278860017noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-538313904544169736.post-61033469124158042122007-11-01T23:49:00.000+00:002007-11-01T23:49:00.000+00:00I totally agree with your views on python. It's ju...I totally agree with your views on python. It's just a little odd in places.<BR/><BR/>One thing me and knaggs were disussing is:<BR/>if everything is an object, why was len() a builtin? It should really be a static method of the object in question?<BR/><BR/>eg:<BR/>"a string".len()<BR/><BR/>We found it daft that half of the builtins just didnt fit as builtins.<BR/><BR/>Perhaps len does something like this:<BR/><BR/>---8<---<BR/>def len(obj):<BR/> obj._some_obsure_len_function()<BR/>---8<---<BR/><BR/>Any ideas?vext01https://www.blogger.com/profile/15706547304880185129noreply@blogger.com