Now with More Python
by Matt CholickI finished converting my site from php to Python with Django today. I haven't formed a strong opinion of the language itself yet, because the framework did all the heavy lifting. From something as simple as a blog there really is very little actual Python code. As for the framework, though, I am a big fan. It does a great job doing exactly what a framework should do: it keeps the code clean and organized and removes much of the repetition. It does this better than many other frameworks that I've used.
That said, there is one thing that I really have issues with: the constraints on the template language.
I feel like my hands are tied when I'm working on the page itself. I realize their reasoning is to better separate business and presentation logic. It's reasonable goal, but I think they took it too far.
For example, the if tag doesn't even let me mix and with or in the same tag.
I am much happier about the end result. php is a language I find really challenging to keep maintainable. The structures for organizing a project with clean separation of concerns aren't obvious to me, even with a framework in place. In contrast, for example, when I write Java the patterns I should use to structure code to keep it maintainable are much clearer to me.