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.

0 TrackBacks

Listed below are links to blogs that reference this entry: Python Woe.

TrackBack URL for this entry: http://blog.sf.dasbistro.com/mt-tb.cgi/23

Leave a comment

About this Entry

This page contains a single entry by Sam Phillips published on May 22, 2007 10:13 PM.

Boggles was the previous entry in this blog.

Yet Another Blog is the next entry in this blog.

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

April 2009

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 30    

Pages

Powered by Movable Type 4.25