tag:blogger.com,1999:blog-5592542.post6930404879509332504..comments2024-03-18T17:28:44.693-07:00Comments on Rondam Ramblings: What Python gets rightRonhttp://www.blogger.com/profile/11752242624438232184noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5592542.post-89471491387849720782008-02-04T00:34:00.000-08:002008-02-04T00:34:00.000-08:00It sounds like you're confusing type and class.In ...It sounds like you're confusing type and class.<BR/>In CL, types are sets of potential objects -- (or integer string).<BR/>Classes are objects that describe implementation.<BR/><BR/>I'd argue that stock CL's support of genericity is quite weak.<BR/>The critical issue, though, is not that you can't extend the integer class, but that you can't extend the behaviour of + and so on.<BR/>That's a real Anonymoushttps://www.blogger.com/profile/08514586925733414260noreply@blogger.comtag:blogger.com,1999:blog-5592542.post-54761805644344768372008-02-03T20:31:00.000-08:002008-02-03T20:31:00.000-08:00Bob wrote:There isn't one global namespace, instea...Bob wrote:<BR/><BR/><I>There isn't one global namespace, instead there are lots of modules, classes, and functions, each with its own space.</I><BR/><BR/>You need to be careful to distinguish Scheme from Common Lisp. Common Lisp doesn't have modules, but it does have symbols in packages.<BR/><BR/><I>Segregating names into spaces is important in large systems, and Python makes it trivial. This Don Geddishttps://www.blogger.com/profile/14921093108555061757noreply@blogger.comtag:blogger.com,1999:blog-5592542.post-529192282521158812008-02-03T08:25:00.000-08:002008-02-03T08:25:00.000-08:00You didn't mention my two favorite features.Namesp...You didn't mention my two favorite features.<BR/><BR/>Namespaces. There isn't one global namespace, instead there are lots of modules, classes, and functions, each with its own space. Segregating names into spaces is important in large systems, and Python makes it trivial. This wasn't well-understood when Lisp evolved.<BR/><BR/>Doc strings in the code. It's like peanut butter in chocolate. (-:Unknownhttps://www.blogger.com/profile/13055387221868484195noreply@blogger.com