Better HN
topnewbestaskshowjobs
Log inSign up

herberth-amaral

3 karma · joined Sep 9, 2012 (14y ago) · 2 submissions

Submissions

1.

That's why you shouldn't use Google Cloud SQL(code.google.com ↗)

2 points · by herberth-amaral · 14y ago · discuss

comment 14y ago · link · parent

I appreciate your effort, but there are some things that I think you need to know about Python when you come from JS world:

- List comprehensions: helps a lot.

- (str|unicode).format method (http://docs.python.org/library/string.html#format-examples) provides you a very simple templating language.

- Avoid using camelCase in variable/method/function names. Yes, I know Python itself break some of those rules, but they're trying to do it right in Python3. In fact, it'll be better if you read the PEP8 document (http://www.python.org/dev/peps/pep-0008/)

Nevertheless I would like to welcome you to Python and I hope you have a great experience with the language :-)