Programming police.
At 2/27/10 11:20 AM, dELtaluca wrote:
c = ( cond ? a : b ) += 10;
I slap you.
At 2/27/10 12:46 PM, Depredation wrote:
Ternaries have saved me a lot of time and lines in recent code. Although they take up more resources if i've been told correctly.
Toast: you're a dumbass.
As usual, the advice of not paying mind to things like that that you don't understand. Like deciding to use arrays instead of named variables because someone told you that it will make the hard drive faster.
The statement is nonsensical because the construct has nothing to do with any kind of resources.
At 2/28/10 11:38 AM, HDXmike wrote:
AS4 : who knows what treasurse it will bring :O
What would you like to see in AS4 ?
Language-wise, there was a proposal being developed some time before you came around (ECMAScript 4). However, it was a mess and the corporations on the committee were not able to agree.
You can still find various amusing data about it around, like the horrid innovative feature formulation.
But dismay not, for all the lost awesome new language features have long been available in a much better implementation.
It certainly would have been interesting to see how Adobe would implement the new features, seeing how the performance of their current AS3 implementation, which has absolutely no advanced features (except maybe closures, which are implemented incorrectly and unusable), is at least 50 times slower than haXe to compile the same library, after the AS version has already been processed by haXe to provide the things that AS lacks features for.
It's true. ;)
If i could pick any one thing itd be some better built in collision
Hittests are already sufficiently abused by people who later become enraged that their intended awesome platformer or whatever glitches uncontrollably.
It's not really possible to create a tool to guess and do exactly what idiots think they want.
If you want to draw a bunch of things and have them act like physical objects, get Crayon Physics and stay there.
It's also not that hard to get a physics engine and set it up to work how you want.
...Especially if you're using haXe (better engines).
At 2/28/10 11:50 AM, Johnny wrote:
-Overloading.
Impossible, and not at all necessary. Remember that AS is a language for programmers that don't understand what static typing is. 'MovieClip (root)' ftw. AS also relies on functions as first-class values, like with 'addEventListener'. Overloading would cause that to require delegate objects, or some sort of type constraint where functions are used as values. And AS doesn't even have detailed function types.
Put another way, even though it looks like a retarded ancient Java, AS is intended to be a kind of Javascript (and was even pretending to lead the future for it before ECMAS4 failed).
-More built-in control over input devices. (Ability to assign right click, specifically)
-More features for Mobile Devices or ability to map controllers for console browser play.
You can hook it up usually, and mobile devices to this themselves to make browsing better, but yeah. Adobe should be less anal about their security threats, since Flash is now seen as a universal use doodad.
-More intuitive peer/server connection features/classes.
Stratus. But it's still anal.
-More data structures (Sure, you can write your own linked-list class... but I want a built-in)
Easy to get a general use library, as always. Just install like TurtoiseSVN and you'll be able to browse all of Google Code without all those scary hacker tools.
Of course, the best libraries have long migrated to haXe. :>
-Less bloat
Psh.
At 2/28/10 11:55 AM, 23450 wrote:
So I'm not completely sold on the idea, but i think would rather have it in then not.
That's just Netbeans. It's very heavy on memory use. Although unlike Flash, it's reliable and otherwise excellent on features.
But IDEs aren't all like that, there are light and responsive ones. Flash has Flashdevelop.
At 2/28/10 12:22 PM, Johnny wrote:
I'm actually for making programming/scripting languages more approachable to Joe Everyman. There are many people out there with the time and dedication to make good games, just without programming experience.
I suppose by scripting you mean the part of programming where you don't have to think about how to get the things you need done because the components have been arranged for you.
Actionscript is very much a scripting language, except that you need to do actual programming with it to get shit done because there are no game engines. Or they're not popular. Flixel achieved some popularity, perhaps because its author is liked in the indie community.
Otherwise there are plenty of scripting languages and game engines, if you're willing to depart from Flash.