5 ms·
This is a pretty good overview, and I like it for the same reason I liked the "Half-hour to learn Rust" one from a few days ago - compressed presentation, that'
by sundarurfriend 6y ago
This is a pretty good overview, and I like it for the same reason I liked the "Half-hour to learn Rust" one from a few days ago - compressed presentation, that's easy to skim through, but without shying away from details too much.
It's strange to see a Julia overview without any mention of multiple dispatch though. "Function overloading" is briefly mentioned, but if this had been a pragmatic overview like the Rust one (instead of one given for use in book exercises), I would have suggested including multiple dispatch, type instability, and the use of `@code_warntype`.
- open-source-ux 6y ago"It's strange to see a Julia overview without any mention of multiple dispatch though." The link below is an informative recent discussion on OOP vs multiple dispath on the Julia website forums. There is some overlap but I much prefer the multiple dispatch approach: Discussion: Why does Julia not use class-based OOP? https://discourse.julialang.org/t/is-julias-way-of-oop-superior-to-c-python-why-julia-doesnt-use-class-based-oop/52058 https://discourse.julialang.org/t/is-julias-way-of-oop-super...
- dandanua 6y agoIndeed, Julia's abstract type system with multiple dispatch is its killer feature. It enables generic programming in a beautiful and concise fashion. Here [1] Stefan Karpinski gives some explanations of why multiple dispatch is so effective. [1] https://www.youtube.com/watch?v=kc9HwsxE1OY https://www.youtube.com/watch?v=kc9HwsxE1OY