I have a great idea, Windows developers: stop being a big bag of whiny bullshit. Oh my god, you have yet another optional API in your toolbox, if you want to use it. Oh no! It's based on scary web thingies you haven't used before! Guess what? COM was new and scary, and so was Win32, and so was .Net and WFC and DirectX and everything else Redmond is spat at your feet to walk on our praise, at your discretion, for the last several decades. You're making a big whiny fuss because you have one more optional API to use, for a novelty new feature that has obvious merits, but is so obviously not the entire picture of Windows 8 that your overt and public cry-fest would be laughable if it was even remotely believable. I refuse to accept that the host of Windows developers is really buying into the bullshit story that everything in the history of Windows is getting swept under the rug and replaced by this, that everything is immediately an old, festering legacy API with legacy applications waiting to collect dust on Balmer's bookshelf. Not a god damn chance. They didn't rewrite Word on top of .Net, and they aren't going to rewrite it for HTML5, either. They're going to integrate a lot of things the Internet Explorer 9 platform provides into the new Operating System and they're going to do some fun looking features and make a great effort. Hell, it might even be a Decent Product! But you know what it isn't going to be? It isn't going to be made from scratch biscuits from grandma's secret recipe. No. This is going to be hamburger helper with some basil tossed in, so the cook feels fancy. Learn a little Javascript, because you've got so many things under your belt already that one more language isn't going to make much of a difference, so live a little and see what its all about. Make a fun little touch-based windows 8 application and impress your friends, and then get back to your job where you'll write version 17 of whatever corporate tax audit tool you've been maintainer for the last twenty years. When someone suggests rewriting it for Windows 8, giggle with your friends while one of the managers mentions that most the customers are still migrating off Windows XP and IE6, and move on to getting some real work done.
At a small suggestion in #python, I wrote up a simple module that allows the use of many python statements in places requiring statements. This post serves as the announcement and documentation. You can find the release here . The pattern is the statement's keyword appended with a single underscore, so the first, of course, is print_. The example writes 'some+text' to an IOString for a URL query string. This mostly follows what it seems the print function will be in py3k. print_("some", "text", outfile=query_iostring, sep="+", end="") An obvious second choice was to wrap if statements. They take a condition value, and expect a truth value or callback an an optional else value or callback. Values and callbacks are named if_true, cb_true, if_false, and cb_false. if_(raw_input("Continue?")=="Y", cb_true=play_game, cb_false=quit) Of course, often your else might be an error case, so raising an exception could be useful
Comments