Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding types of objects to lesson 1 #825

Open
almacarolina opened this issue May 27, 2020 · 1 comment
Open

adding types of objects to lesson 1 #825

almacarolina opened this issue May 27, 2020 · 1 comment

Comments

@almacarolina
Copy link

I think it would be a good idea to discuss "mutable" and "immutable" objects before lesson 5 (lists). As a suggestion, it could be a good idea to give a brief explanation of the "most common" objects: dictionaries, arrays, lists, strings in lesson 1. As a novice learner, it took me a while to realize that lists are mutable. Lesson 5 does discuss lists and explains that they are mutable, although I think an Introduction would be better in lesson 1 when we discuss data types. On the same note, in lessons 2 to 4 the NumPy library is discussed and used, therefore it could be a good idea to discuss the existence of "arrays" in lesson 1 too.

@ldko
Copy link
Contributor

ldko commented May 29, 2020

Hi @almacarolina , thank you for taking the time to provide feedback on the lesson.

Despite its title, in The Python Fundamentals episode we don't try to teach all fundamentals that might be covered in a more general introduction to Python course, rather, we try to set a foundation toward teaching learners how to analyze our sample data. We intentionally keep what we cover light in this first episode due to time constraints of a workshop and cognitive load that can be too much for those learners who are new to programming.

While we do bring up strings in episode 1, we hold off on lists until later when we are getting ready to apply them in our learning, and thus wait to explain "mutable" and "immutable" until we get there and have examples to put it into context. Regarding not introducing arrays in episode 1, the arrays used in episode 2 are of type numpy.ndarray, and not a built-in Python data type, so we wait to bring them up until using numpy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants