May 2007 Archives

Python Woe

| | Comments (0) | TrackBacks (0)

Garbled nonsense I wrote on my way home, of a horribly language geeky issue.

  • Python really doesn't do circular imports.
    • There is only runtime no seperate load or compile-time.
    • Really like the (load ...) function in R5RS.
  • PLT Scheme has units which are so much better. No one seems to have done the same for python.
  • Most references say just don't do it (http://effbot.org/zone/import-confusion.htm for instance.)
    • Easier said than done.
    • Python in a Nutshell suggests wrapping names in a function that you call to initialize the module.
    • Lame.
  • I just spent all of my Caltrain ride home mapping out the module, function, and class dependecies in a hastily constructed 1000 line program that I fear having to rewrite from scratch.
  • Why can't modules be nice happy load time modules and not evil run time bitches.

About this Archive

This page is an archive of entries from May 2007 listed from newest to oldest.

April 2007 is the previous archive.

February 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

February 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29  

Pages

Powered by Movable Type 4.1