datatrail-jhu / python

A bonus course for DataTrail graduates who wish to learn python
https://datatrail-jhu.github.io/python/
Creative Commons Attribution 4.0 International
0 stars 2 forks source link

R vs Python Chapter #2

Closed cansavvy closed 1 week ago

cansavvy commented 7 months ago

Candace will draft this chapter and then @tillahoffmann will help edit.

cansavvy commented 6 months ago

@howardbaek you can request me to review first or send any questions my way.

Make sure it is beginner friendly and jargon free

howardbaek commented 6 months ago

FYI: I've started writing the chapter in the branch howardbaek/r-vs-python.

@cansavvy Do the students know object-oriented programming (OOP)? I'm borrowing material from https://rstudio.github.io/reticulate/articles/python_primer.html and debating whether to include OOP in the chapter.

cansavvy commented 6 months ago

It will be unlikely they will know much about OOP. So if you can cover it, that’d be great. On Jan 9, 2024, at 3:37 PM, Howard Baek @.***> wrote: Do the students know object-oriented programming (OOP)? I'm borrowing material from https://rstudio.github.io/reticulate/articles/python_primer.html and debating whether to include OOP in the chapter.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>

tillahoffmann commented 6 months ago

Having an OOP discussion sounds great! Maybe the emphasis could be on "what is an object" and "how do I use them" (thinking of data frames here). And maybe less focus on class definition syntax, scoping, attributes vs properties, etc. What do you think?

cansavvy commented 6 months ago

👍 I generally am always in favor of application first and theory only if it helps understanding for the purposes of application.

howardbaek commented 6 months ago

Yes, I can go into the very basics of OOP ("what is an object", "what is a method", "what is an instance") as I find OOP to be very important to reading/writing Python, compared to R.