Let's learn about structs, or composite types, by looking into a new Dice type.
Code: https://github.com/abelsiqueira/julia...
0:00 Introduction
0:25 Start - Dice struct
2:15 Constructor
4:25 Multiple dices
5:10 new struct HandfulOfDice
8:05 histogram
11:15 abstract type
12:19 Closing remarks
#julia #julialang #bestpractices #juliajourney #juliaprogramming #struct #types #constructor #class #objectoriented #multipledispatch