what do you prefer stylistically?
ignore the concrete type (could also be float, int,…)
@noiob I prefer casts if its a well defined operation that's relatively simple, like casting between number types, where you don't really need any additional parameters to do the conversion
I don't like casts if it's doing a more complex conversion, like parsing out a float from a string, which relies on locale etc
I'm actually not sure which I prefer but casts are faster and my colleague considers them more readable so I guess I'll use those