@Sgt_choke_n_stroke to Programmer [email protected] • 1 year agoThe temptation is always thereimagemessage-square96arrow-up11.15Karrow-down139
arrow-up11.11Karrow-down1imageThe temptation is always there@Sgt_choke_n_stroke to Programmer [email protected] • 1 year agomessage-square96
minus-square@[email protected]linkfedilink10•1 year agoAs opposed to immutable variables *confused screaming*
minus-square@[email protected]linkfedilink3•edit-21 year agoint const golden = 1.618; int* non_constant = (int*)&golden; golden = 1.61803399; Casts are totally not a danger that should require a comment explaining safety…
As opposed to immutable variables
*confused screaming*
Or mutable constants…
int const golden = 1.618; int* non_constant = (int*)&golden; golden = 1.61803399;
Casts are totally not a danger that should require a comment explaining safety…