Permalink
Mike on conventions
  • vote
    14
    0 starsmike | Shared With: Everyone - Aug 24 2009 | python, conventions
    PEP 8 -- Style Guide for Python Code
  • vote
    1
    0 starsmike | Shared With: Everyone - Jun 30 2009 | python, documentation, conventions
    PEP 257 -- Docstring Conventions

    Conventions for Python documentation.

  • vote
    14
    0 starsmike | Shared With: Everyone - Jun 30 2009 | python, standards, coding, conventions
    PEP 8 -- Style Guide for Python Code

    Guido's recommendations for python coding conventions.

    I don't follow the function naming conventions - as I'm too used to InitialCapital for function and method names (I think functions should look more like Classes than variables).

    Quoted: Modules should have short, all-lowercase names. Underscores can be used in the module name if it improves readability. Python packages should also have short, all-lowercase names, although the use of underscores is discouraged.

  • vote
    2
    0 starsmike | Shared With: Everyone - Jun 09 2009 | python, syntax, conventions

    The "underscore" rules for python:

    _* at module scope keeps a symbol from be imported when you execute "from module import *".

    __* (double underscore) at class scope, mangles the class variable so it is not accesible from outside the class

  • vote
    1
    0 starsmike | Shared With: Everyone - Jan 09 2007 | astronomy, conventions, seti
    American Astronomical Society Website

    The American Astronomical Society is holding their annual meeting in Seattle - going on now. I got to peek in on the exhibition floor - lots of cool stuff here: NASA, SETI, dark energy and dark matter research, etc.

  • vote
    14
    0 starsmike | Shared With: Everyone - Jul 31 2006 | news, games, entertainment, conventions, trade show, e3
    Next Generation - EXCLUSIVE: E3 FINISHED

    Re-dotting from EdF. E3 is dead. Glad I went to one a couple of years ago.

    Quoted: The Entertainment Software Association (ESA) shindig has been a staple of game industry life since the mid-1990s. However, we understand the larger exhibitors have jointly decided that the costs of the event do not justify the returns, generally measured in media exposure.

1 - 6 of 6 Faves