Slashdot Mirror


Mac OS X Secrets of the Elite

anti-drew writes "Stepwise has posted a list of fantastic secrets in MacOS X, which reveals all of the hidden features that you just knew were lurking in there, including preferences you can set from the command line to make everything 10% faster, and extensive class libraries and undocumented Objective C APIs that take all the work out of coding. Literally. Check it out!"

1 of 132 comments (clear)

  1. Re:Compiler directives... by dschuetz · · Score: 3, Interesting

    I espcially liked the Compiler directive:

    --dwimnwis (Do what I mean not what I said)


    April fools aside, I actually wish there were a switch for this.

    Compilers are often smart enough to be able to parse out what you mean (how many times have you gotten a perl error saying "You left a quote off up there at line 123"?).

    I'd like to see a switch that gives the compiler (interpreter, whatever) the authority to try to fix, for itself, some of these stupid issues. If other non-recoverable errors happen later, then fine, it doesn't have to complete the compile. But if I drop a semicolon and get a hundred new errors as a result, and the compiler can see that if that semicolon is replaced, then why can't I ask it to replace that, warn me what it did, and see if it works?

    Just a thought...