Python

Da Python a Ruby o vicerversa

Preludio L’ultima volta che ho provato Ruby è stato nell’aprile del 2005. Avevo sviluppato un paio di progetti di test in RubyOnRails, che allora era già produttivo. Ruby era affascinante, ma la libreria base mi sembrava ancora in stato embrionale e lo abbandonai. RubyOnRails non mi è mai sembrato avesse un vantaggio competitivo rispetto a …

Da Python a Ruby o vicerversa Read More »

(How to Write a (Lisp) Interpreter (in Python))

I like a lot of programming languages. I do not love them with the same intensity. I do not love Lisp for its ((syntax))), but Lisp rocks for its purity: in a tiny bag of concept, you get a lot of stuff. This article, (How to Write a (Lisp) Interpreter (in Python)) show you how it …

(How to Write a (Lisp) Interpreter (in Python)) Read More »

Python SOAP Client

Suds is a lightweight SOAP python client for consuming Web Services. It is very nice to use, because of the debugging feature inside. Give it a try: https://fedorahosted.org/suds/ And for testing and playing with it, try out also DreamPie, a nice Python shell

Python functional programming

This article is a work in progress: it will be expanded by your comments… Python is a very curios programming languages: it give you classes but also a strong function-oriented environment to play with. So, if you like functional programming (read: you like  Lisp and/or Erlang)  you should give python a closer look.