tag:blogger.com,1999:blog-11788780.post3122315525135021987..comments2023-12-29T13:22:33.104-08:00Comments on JJinuxLand: Books: JavaScript: The Good Partsjjinuxhttp://www.blogger.com/profile/03270879497119114175noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-11788780.post-56784810159778696032009-08-19T17:44:59.872-07:002009-08-19T17:44:59.872-07:00> I love this summary.
Thanks ;)> I love this summary.<br /><br />Thanks ;)jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-82015978651922261582009-08-19T17:44:31.011-07:002009-08-19T17:44:31.011-07:00I said "Unlike Python and Ruby, two strings w...I said "Unlike Python and Ruby, two strings with the same value are considered identitical." Two strings with the same value in Python are equal, but not identical.<br /><br />>>> a = "foo"<br />>>> b = "f"<br />>>> b += "oo"<br />>>> a == b, a is b<br />(True, False)<br /><br />:)jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-59394112696031474852009-08-19T17:40:24.579-07:002009-08-19T17:40:24.579-07:00I love this summary.
A minor correction: in Pytho...I love this summary.<br /><br />A minor correction: in Python 2.6, at least, strings of equal value are equal.<br /><br />>>> a = 'abc'<br />>>> b = 'abc'<br />>>> a == b<br />Truestephenhttps://www.blogger.com/profile/04486889878636801969noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-81072830126536018772009-07-28T12:57:01.337-07:002009-07-28T12:57:01.337-07:00I also wrote a book review here: http://jjinux.blo...I also wrote a book review here: http://jjinux.blogspot.com/2009/03/books-javascript-good-parts-part-2.htmljjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.com