Introduction to Julia | Matt Bauman | JuliaCon 2024
HTML-код
- Опубликовано: 4 окт 2024
- Kick-start JuliaCon 2024 with this half-day workshop to pick up the language. Discover what makes Julia special and start writing your own code right away. No prior Julia experience is necessary; this workshop is geared towards anyone with basic programming knowledge from another language.
The goal of this workshop is to provide you with a broad overview of the language and establish a foundation for the rest of the week. We will cover Julia's syntax and data structures as well as its marquee features, including multiple dispatch, its type system, and a few common packages.
Excellent tutorial!
Thanks
Great tutorial! It would be great to know which minutes of the video correspond to which topic.
Funny when you defined g as the plus function: g = + and then used g(3, 4), I stopped the video to try 3 g 4 - like 3 + 4. If I had let played a few seconds longer, I would have seen. I was thinking like someone in audience.
Hi! The + operator is what we call an "infix" operator, it can be used in both function form, +(3, 4) and infix form 3 + 4. For readability, and to ensure parsing makes sense there is a limited set of infix operators, typically corresponding to normal mathematics functions, and other LaTeX / Unicode symbols like `\vee` ∨ or `
ightarrow` →. Hopefully that helps!
You may define ⊕(x,y) = x + y + 1 and then use it as a binary operator, for example 3 ⊕ 4
Swag
Bad audio in 2024 🙄😞