Forum > General

[CLOSED] Absolute

<< < (3/3)

Warfley:

--- Quote from: engkin on December 04, 2021, 08:31:21 pm ---What makes this typecast better than using absolute?

--- End quote ---
The compiler perfroms error checking on typecasts, see the example from above. or do you mean in this specific circumstance, there it shifts the conversion from the declaration of the function to the use point, making the function itself cleaner and easier to understand

440bx:

--- Quote from: engkin on December 04, 2021, 08:34:31 pm ---Wouldn't it be better to learn what absolute does and use it appropriately?

--- End quote ---
Yes, it would but, until they do that, they should probably stay away from it. ;)

Navigation

[0] Message Index

[*] Previous page

Go to full version