Rachel's notes and feedback on "Intro to Julia" dry run
General Notes/Feedback/Todos
Overall:
- make sure to pause periodically for questions!
Leticia's intro stuff
Ethan: syntax
- wrt defining structs: "objects don't have methods, functions have methods"
- NOTE FOR DISCUSSION: defining "member" functions (I'm still not totally sure what this means)
Leticia: Why Julia?
- can note that Ethan will talk about compilation time etc. in optimization section
- I added a cell to demonstrate a cool corollary of your
area(::Shape) example by combining broadcast with dispatch: area.([Circle(5), Square(3)])...related, we could maybe expand this a little bit to draw parallels to e.g. writing a class in Python, can discuss this next week
Leticia: Numerical Data
Ethan: optimization
Ethan: advanced
Timing
3:15 Leticia starts intro
3:25 Ethan starts syntax
4:00 Leticia starts Why Julia (paused 4:05 for phone call, started up 4:10)
4:35ish? break
5:00 Leticia starts numerical data section
5:30 Ethan
6:00 finish
Rachel's notes and feedback on "Intro to Julia" dry run
General Notes/Feedback/Todos
Overall:
Leticia's intro stuff
startup.jlis on Windows machines if you're going to talk about that level of customizationEthan: syntax
Pkg.activate(); Pkg.instantiate()cell will do it? Make sure to try this outmethodsfunction to see different dispatchesf = a -> 2a; f(3)or something since that will come up in DataFrames later@.cell doesn't run in notebook in VS Code@whichas that can be helpful in debugging usage of code that's part of a larger package...will have to think about what an easy example is, presumably something from one of the packages we're already importing$because then you can call back to it when you do interpolation in optimizationLeticia: Why Julia?
area(::Shape)example by combining broadcast with dispatch:area.([Circle(5), Square(3)])...related, we could maybe expand this a little bit to draw parallels to e.g. writing a class in Python, can discuss this next weeksupertypeandsubtypesLeticia: Numerical Data
randfunction with one of the distributions as an example along with some other things, that's likely more broadly usefulEthan: optimization
Ethan: advanced
Timing
3:15 Leticia starts intro
3:25 Ethan starts syntax
4:00 Leticia starts Why Julia (paused 4:05 for phone call, started up 4:10)
4:35ish? break
5:00 Leticia starts numerical data section
5:30 Ethan
6:00 finish