Armed with a text editor

mu's views on program and recipe! design

Bikesheds: Naming pygame-ctypes; Pronouncements Posted 2006.08.26 09:03 PDT (#)

Sometimes there are just a few too many bikesheds out there just begging to be painted. While I've managed to not quite join the discussions themselves, I just had to share my viewpoint somewhere...

pygame vs ctypes

There have been a couple threads on what to name what may or may not become the new pygame. Most recently a cutesy name pistol was suggested. All because of some hopes to avoid confusion over the original pygame name.

I think the worry about confusion is a red herring, so long as things are properly namespaced. The ctypes implementation is split into two levels: a SDL wrapper, and a pygame compatibility layer. The first comes under the SDL namespace, with entries like SDL.image, SDL.mixer, etc. The pygame compatibility layer should just be another one of these: SDL.pygame.

Then existing code can switch from import pygame to from SDL import pygame if it wants to leverage this layer. No crazy names that nobody understands. No confusion over which is being used. We're done.

TurboGears vs Django

There's a lot of kerfuffle on various python blogs about what Guido van Rossum did or did not pronounce about either TurboGears or Django being the official BDFL choice, and so forth. I have yet to see a single link to text that came from Guido himself. Please stop mountainizing this rumor until there is an email or blog post or video from Guido that the rest of us can read or watch.

As for which I prefer? I'm completely a roll-my-own type, as I only do websites like this one.

Categories: bikeshed python

Comments:

Michael Urman @ 2006.08.28 18:34:

Oh good. While it's really still too soon to say, it seems like both of these issues have gone quiet again.

Michael Urman @ 2006.09.01 06:16:

Clarified: Guido never said what people made him out to have said. Fredrik's said this all along, I think, in his usual impenetrable comments.

maram @ 2006.09.06 21:46:

I probe cankiri... is a very nice script for screencast. I have dapper, but my video is very fast...

and it crash with mplayer , but not with totem...

Can you help me?

You can see that in http:turbogears.com.ar/static/geine.ogg

Thanks