News for hackers. Stuff that matters.
Re:The ugliest C feature: <tgmath.h> by seabee on Monday December 26, 2011 @10:36AM (#3393091)
tl;dr hacking an unsupported feature (function overloading) into a language that doesn't support it is ugly and/or results in leaky abstractions.
Re:The ugliest C feature: <tgmath.h> by aeroevan on Monday December 26, 2011 @04:08PM (#3393939)
He also isn't quite up to speed with Fortran overloading. It is fairly easy to define interfaces that can call different functions based on input type, but it still isn't as nice as C++.

http://pastebin.com/1ewMcDaA

Re:The ugliest C feature: <tgmath.h> by slavak on Monday December 26, 2011 @06:14PM (#3394178)
The point of the article wasn't so much to bash the feature as it was to show off an impressively sophisticated hack.