Tag: python
Didn't I Say I Wouldn't Compare Languages?
I posted a version of this to JJ Behrens’ Blog post about Ruby, and decided it was probably worth also posting here.
I use and like both Ruby and Python, here’s why…
Things I like about Ruby with respect to Python I think Ruby is the only language that gets accessors right. The thing you want to do 95% of the time – simple access – is trivial, and the thing you want to do 5% – something fancy in your accessor – of the time is a pretty easy override.
Playing in the Sandbox
This message showed up in the Manning Sandbox forum for wxPython In Action. After saying some nice things about the book, the poster has some suggestions:
I would love to see an advanced volume covering topics such as XRC, using XML to define a screen layout; creating custom widgets… internationalization, and a full chapter or more expanding on chapter 5 “Creating your blueprint.” I find that… program organization is most important yet little seems to be written about it, for any programming language….
Don't Ask Questions, It Only Encourages Him
Let me promote this from the comment section – it’s not hard to find, it’s the only comment on the previous post.
What is your favorite Python IDE? Your editor choices are interesting and valid but I wondered if you have a preffered IDE for Python and wxPython work?
I may have covered this somewhere, either on this site, or in the Python 411 podcast interview. If so, I’m sorry.
Re-refactoring
Here’s a little riff inspired by one of the examples in Martin Fowler’s book Refactoring, which is another great programming book that deserves an appreciation post one of these days. This was actually also spawned by code that I’ve read, and later realized that Fowler did a similar example. Thing is, I don’t think Fowler went far enough in this case.
Here’s the example. (page 243 for those of you playing the home game).
Some 411 of my own
Saturday, Robin and I had the pleasure of being interviewed by Ron Stephens for the excellent Python 411 podcast. I think this was the first time I’ve ever been interviewed for anything, and while it’s always fun to talk about Python, the book, and me (not necessarily in that order), it does take some getting used to.
Anyway, I do mention this here blog during the interview, and while I don’t want to talk about the actual interview in detail until I hear the edited version, it did occur to me that I might want to have some actual Python content on board in case anybody comes by to check the place out.
Languages I Use
Continuing in the getting to know you kind of vein, I thought I’d ground some of what I say by talking about the three programming languages that have made up the bulk of my professional and hobby work for the past five years or so – Java, Python, and Ruby.
Java: I’ve been programming Java since either just before or just after the 1.0 release… can’t quite remember at this point.