Wednesday, December 14, 2011

Re: Decorator aware Django

On 13.12.2011 15:14, Javier Guerra Giraldez wrote:
> for me, is opposed to the "explicit is better than implicit" in the
> Zen of Python. not a bad thing on itself, but something to be careful
> about. (and, personally, it's a big part of why i like Django so
> much better than RoR)

I am a complete newbie in the world of webapps, but exactly this was the
reason why I left Flask. Nothing against them, but

@app.route("/")
def hello():
return "Hello World!"

looks to me like a wrong to do things and yes "explicit is better than
implicit" (or "No magic allowed!") was something I was thinking about.

What I liked about the first look at Django was that it looks just like
a Python app not playing any tricks on me.

Now I have to overcome this feeling with ORMs (be it the Django one or
SQLAlchemy) ... but there is probably not a better way how to do this.

Just my €0.02

Matěj

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate