in many of my julia codes I define my own type variables, in such a way that nothing is by default initialized, expecting the user will initialize the fields he needs. For instance
type fooo x :: Int y :: Float64 z :: Int t :: Float64 fooo() = new() end;
kkk = fooo() kkk.x = 10 kkk
gives as result
because some values have been set to kkk.y. My question is: is there a way to get to know that kkk.x has been given a value while kkk.y contains garbage and has not been given any value by the user?
Best regards and thanks,