CompileNix's Blog - Q and A

Start Page | RSS Feed | Find Stuff

Q: "Best Linux Distro for Hacking/Programming"
A: "Arch is a good option to get your hands dirty, Gentoo allows you to roll in the mud."

Q: "What IDE (or text editor) do you use?"
A: "Visual Studio; It's the best IDE ever (though I wish Microsoft learned to implement the standards)."

Q: "Bad, terrible or simply funny code examples"
A: "Java."
A:

    if(condition) return true else return false
A:
    // Happy debugging, suckers
    # define true (rand() > 10)
A:
    void get_tomorrow_date( struct timeval *date ) {
        sleep( 86400 ); // 60 * 60 * 24
        gettimeofday( date, 0 );
    }

Source: linustechtips.com