half a day on a shitty bug because of deg instead ...
# random
e
half a day on a shitty bug because of deg instead rad.. can wait to have inline classes
k
Put everything in rad, always!
💯 1
👆 1
e
deg are more human readable
with rad I always have to think about how much does it correspond more or less in deg to have an idea of the size of the angle
unless they are easy values such as 0, pi, pi/2, etc..
k
Then convert to deg first and last thing at the UI layer and in debugger watches. simple smile
But sure, yay inline classes!
e
eh, it seems easy saying it 😄
anyway, have you had a chance to try them? Inline classes I mean
k
No, couldn't get to a computer yesterday. Maybe today!
r
@elect are they included 1.3-Mx?
e
didnt try that
is it even possible?
@robstoll
r
I don't know, I was curious if it was already implemented. I only saw a slide mentioning it.
e
yeah, actually 1.3 is the release target
t
Only heard about this feature recently. What would the inline classes have done? Put type safety around a primitive but compile as a primitive?
e
yes and more important, they can give you the possibility to restrict methods only for that inline class
typealias
cant do that