Hacker News new | past | comments | ask | show | jobs | submit login

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.




Interestingly 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.


That'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/




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: