I'll take "sloppy" over "unstable, lacking direction, and full of feature creep" any day.https://twitter.com/hashbreaker/status/667845317325361152 …
-
-
@CopperheadSec If you learned C from scratch without reading broken code as examples, where would you learn aliasing was even possible? -
@RichFelker Trial and error with little concern towards whether it's safe. Or sites spreading lots of bad information like Stack Overflow. -
@CopperheadSec SO information on C is generally very high quality; misinformation gets downvoted in a hurry & replaced by good info. -
@CopperheadSec I'm not sure how "trial & error" would lead you to aliasing diff types without a preexisting idea of that "technique". -
@RichFelker Doing it via unions is an obvious technique but isn't really well-defined in C and is explicitly undefined in C++. -
@CopperheadSec Yeah but all the decent docs on C tell you that the only member of a union you can access is the most-recently-stored one. -
@CopperheadSec I concede that a newcomer to C could plausibly discover union-based aliasing via trial-and-error though.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.