Un articolo di Neil Brown sul sempre benemerito Linux Weekly News contiene considerazioni interessanti su affinità e divergenze tra Python, Go <http://golang.org/> e Rust <http://www.rust-lang.org/>.
(Che poi sembra una gara fra chi sceglie il nome più fesso... ;-) ) Su Go: "While Go offers a lot of functionality, it often seems quite restrictive in how this functionality is accessed. This is reminiscent of the 13th aphorism from the Zen of Python: There should be one — and preferably only one — obvious way to do it. [...] By removing options from the programmer, the language removes the need to make choices and so frees the programmer to focus on the actual functionality that they need." Su Rust: "While Go forces you into a particular mold, Rust lets you build your own mold with enormous freedom. [...] This leaning towards extreme flexibility seems to pervade Rust and is reminiscent of the Perl programming motto: There is more than one way to do it." Philosophy and "for" loops — more from Go and Rust <http://lwn.net/Articles/557073/> Se queste impressioni valgono, e sono ben documentate in questo e altri articoli su LWN dello stesso autore, mi sembra non vi siano dubbi su quale di questi linguaggi presenti maggiori affinità con Python. La programmazione è materia di per sé complicata, mi sembra vitale limitare al minimo velleitarismi e complicazioni inutili. Il senso di onnipotenza nel controllo su una macchina è sempre in agguato: bisogna esserne consapevoli ed esercitare un'umile autodisciplina, per quanto possibile. Quindici anni fa scelsi di investire su Python perché cercavo uno strumento semplice e chiaro. Oggi scelgo di investire su Go perché vi sento la stessa attenzione per la semplicità e la chiarezza, anche a costo di limitare la libertà espressiva. (E anche la firma ha da dire la sua. :-) ) -- Nicola Larosa - http://www.tekNico.net/ [The Go language landscape] is like the early days of Python; the smart folks are saying "interesting" and the rest are saying "whitespace?". It's still a very good first-pass filter. - Mark Shuttleworth, February 2014 _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python