3 ms·
The best answer isn't necessarily the right answer. You should consider which style is closest to your likely users and try to appeal to them. If your users ar
by cosmo7 18y ago
The best answer isn't necessarily the right answer. You should consider which style is closest to your likely users and try to appeal to them.
If your users are independent web developers then python-style would make sense. If you are aiming at more corporate-comfortable programmers, braces are de rigeur.
- mojuba 18y agoInterestingly though, those who used Python extensively in web apps aren't very happy with it, at least because of the problem of mixing indentations and markup - see discussions above. On the other hand, Python is successfully making it into the corporate world, which is obvious from job boards. Which is probably because Python's modularity and clean OO-ness plays well with the hierarchical culture of commercial vendors. No, this is a tough question. I still don't know.
- inklesspen 18y agoThat's funny; I've used Python extensively in webapps and I'm very happy with it. I use Mako for templating. http://www.makotemplates.org/ http://www.makotemplates.org/