Snakes on the Web: what’s really wrong with web development

I don’t really consider myself a Python developer, although I have dabbled. As with many of the less mainstream languages there are keen developers and thinkers trying to clear away the confusion and push the limits of what is possible. Snakes on the Web The article is an enthusiastic call to action for “Pythonistas”, but …

Continue reading ‘Snakes on the Web: what’s really wrong with web development’ »

Filesystem structure of a Python project

I’ll admit that I don’t have a lot of experience with Python, but one of the things which always gets me in a tangle is project structure, modules, packages, importing and how they all play together. So far I have not found much by way of resources to help newbie Python folks get to grips …

Continue reading ‘Filesystem structure of a Python project’ »

Comparing Java and Python – is Java 10x more verbose than Python (LOC)? A modest empiric approach

It’s a long-running argument. Are modern, dynamic, languages such as Ruby and Python really much more concise than more mainstream languages such as Java? What constitutes “big” in each case? Stephan tries to flush out some hard facts, and gets a lot of comments. Comparing Java and Python – is Java 10x more verbose than …

Continue reading ‘Comparing Java and Python – is Java 10x more verbose than Python (LOC)? A modest empiric approach’ »

Are static or dynamic languages more maintainable?

So the question is: are dynamic-typed languages (ruby, python, smalltalk, etc.) easier or harder to maintain than static-typed languages (Java, C#, etc.)? It seems there are arguments both ways. On the one hand, dynamic languages tend to be a bit more concise, and reducing code size is a great way to simplify maintenance. On the …

Continue reading ‘Are static or dynamic languages more maintainable?’ »

IDE’s and Dynamic Languages

I have been working with Python a fair amount recently, and really miss a lot of the tool features I use when working with Java. In particular, lacking the ability to automatically apply common refactorings and auto-complete obvious code really “cramps my style”. In most cases I have a pretty clear idea of what I …

Continue reading ‘IDE’s and Dynamic Languages’ »

Mox, Google’s Mock Object Framework for Python

I had great hopes for this when I saw the title. I normally use TDD (Test Driven Development) exclusively, but have been finding it difficult to get into the rhythm of TDD when developing in Python for Google App Engine. I’m just not familiar enough with the Python unit-test ecosystem. So a general purpose Mock …

Continue reading ‘Mox, Google’s Mock Object Framework for Python’ »

Google App Engine optimizations

This is a really useful article for what I am doing right now. A selection of Google AppEngine hints and tips from someone who has done a few apps already. I particularly like the reminder about providing static favicon and robots.txt files – something I have bumped into in plenty of other web development situations …

Continue reading ‘Google App Engine optimizations’ »

Google App Engine & eclipse PyDev

I’ve been looking at Google App Engine recently, and thought I’d have a go at developing something using Eclipse (my main IDE) with the Python development plugin PyDev rather than a motley collection of text editors and scripts.  Here’s how I got on so far. I already have Eclipse Europa, so I connected to the …

Continue reading ‘Google App Engine & eclipse PyDev’ »