Mercurial > python-for-js-programmers
changeset 7:482a0ed021da
xkcd link and other stuff
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Thu, 05 Jun 2008 15:53:15 -0700 |
parents | f8aa8d0494ed |
children | e260fb2db3e5 |
files | PythonForJsProgrammers.txt |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/PythonForJsProgrammers.txt Thu Jun 05 15:47:04 2008 -0700 +++ b/PythonForJsProgrammers.txt Thu Jun 05 15:53:15 2008 -0700 @@ -76,9 +76,10 @@ language feature that reduces the cognitive burden on the programmer. Indeed, many of the language features covered below were designed with a very careful eye towards readability, reducing cognitive load, and -making the process of programming as enjoyable as possible. +making the process of programming `as enjoyable as possible`_. .. _`Don't Repeat Yourself`: http://en.wikipedia.org/wiki/Don%27t_repeat_yourself +.. _`as enjoyable as possible`: http://xkcd.com/353/ The Interactive Shell ===================== @@ -333,9 +334,8 @@ AttributeError: 'dict' object has no attribute 'foo' Dictionaries generally aren't used to create arbitrary objects like -they are in Javascript, though; they don't have prototypes, nor do -they have meta-methods. Instead, classes are used to do that sort of -thing. +they are in Javascript; they don't have prototypes, nor do they have +meta-methods. Instead, classes are used to do that sort of thing. Classes =======