The Samurai Principle

Ben Finney ben+python at benfinney.id.au
Wed Sep 8 06:08:04 CEST 2010


Phlip <phlip2005 at gmail.com> writes:

> On Sep 7, 4:38 pm, Benjamin Kaplan <benjamin.kap... at case.edu> wrote:
>
> > When you're using a language, you should use the style that the
> > language emphasizes.
>
> You mean like this?
>
>   uri = reverse('my_uri_name', kwargs=dict(pk=record.pk))

Do you think that style is emphasised by Python? What gives you that
impression?

-- 
 \            “Program testing can be a very effective way to show the |
  `\        presence of bugs, but is hopelessly inadequate for showing |
_o__)                              their absence.” —Edsger W. Dijkstra |
Ben Finney



More information about the Python-list mailing list