In my last entry, I talked about closed-minded attitudes about new (or just unfamiliar) programming styles. I’ve been thinking a lot about why Python — or any other dynamic language — is more powerful than a more rigid, statically typed language. For the purposes of this article, I consider C++ rigid, even though [...]
Entries Tagged as 'python'
What’s so great about Python?
July 13th, 2008 · 1 Comment
You’ve Got Mail Order Bride of Chucky!
February 17th, 2008 · No Comments
Apparently, there’s a company called ITA Software that posts interesting software puzzles and invites job applicants to attempt them. I stumbled across this archive page and found the one called “Sling Blade Runner.” The challenge is to construct the longest chain of movie titles in the before & after style of Wheel of [...]
Project Euler: Problem 7
January 30th, 2008 · No Comments
I’m not going to discuss every Project Euler problem I attempt, but I thought the seventh problem was interesting. The goal of the problem is to identify the 10,001st prime. Several times in the past, I’ve written a simple primality test, the naive way. This time I figured it would be a [...]
Tags: project euler · python
Project Euler: Problem 1
January 29th, 2008 · No Comments
I decided to broaden my horizons a little by learning Python. I’ve been using it internally on some projects, but primarily as a glorified shell scripting language. In order to become more comfortable with Python, I decided I need to write small programs on a regular basis.
Project Euler is a great set of [...]
Tags: project euler · python