Sugar Wiki Genius Programming Discussion

Collapse/Expand Topics
 

xenol
Topic
07:01:58 AM Jul 26th 2016
edited by xenol
The current quote as of 07/26/16 is a little too long. It's taking up over half a page on my 1440p screen, which would probably look like almost all of the page on 1080p.

I'm thinking of shortening it to these two lines:

i = * ( long * ) &y; // evil floating point bit level hacking

i = 0x5f3759df - ( i >> 1 ); // what the fuck?

Or finding another elegant programming example. Any takers?
202.176.202.139
Topic
10:12:33 PM Aug 25th 2010
Isn't It Sad that Genius Programming gets less love than Idiot Programming?
EricDVH
04:58:57 AM Jan 30th 2011
One is easier to pull off than the other, not to mention that truly elite hackers are now something of an Elegant Weapon for a More Civilized Age.

Eric,
Collapse/Expand Topics
http://tvtropes.org/pmwiki/remarks.php?trope=SugarWiki.GeniusProgramming