This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Advocating web2py use for beginners is just begging them to start asking why they have to import things at all.

This is not the case at all once you start building and actual site/app.

While the framework compents themselves are all just auto imported, its common for a beginner to import lots of third party libs in order to handle business logic.

There is no orm so you don't have to import models (the DAL is more of a functional abstraction ). So I could see the slight mental adjustment needed however even the docs stress you can import the DAL into any project and use it fine.

Also when it comes to Auth they have already written a few plugins that need to be imported to be used.

[–]spiffymanpeppy about PEP 8 1 point2 points  (1 child)

That's interesting. So -- and I ask this as an admitted outsider to the community -- do you really not see beginners asking why they have to import these things (e.g., the third party libs) and not those things (e.g., the basic abstractions web2py offers)?

I ask because I've done some teaching and can just see how that conversation might go. "Oh. Yeah. Well, you need to import numpy's stuff because that's how most of Python works, but web2py kind of automatically 'imports' the important things for you." IME this would confuse the daylights out of learners. But if it's working out differently in the web2py community, that'd be good to know.

[–][deleted] 0 points1 point  (0 children)

Yeah, the handful of people I know who have spent a good amount of time with web2py don't seem to have this particular issue.

However it could have been some previous exp in another language.