4 ms·
"I wouldn't have to recommend Python to beginners any more, and be on the hook for explaining e.g. why default values are mutable, or why nested generator compr
by spenrose 8y ago
"I wouldn't have to recommend Python to beginners any more, and be on the hook for explaining e.g. why default values are mutable, or why nested generator comprehensions behave differently than nested list comprehensions."
Maybe those scoping gotchas are not beginner topics?
- detaro 8y ago> Maybe those scoping gotchas are not beginner topics? They are the second one of your beginners trips over them. Especially the first one is fairly easy to encounter and really vexing. That said, Python in my experience is an excellent beginner language, and I'd still recommend or teach it.