Re: [Flashcoders] Faster code?

2005-12-24 Thread Michael Bedar
. - Original Message - From: Paul BH [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 4:49 PM Subject: Re: [Flashcoders] Faster code? I think these are all great, but if I can be the voice of caution for a moment... remember that when

Re: [Flashcoders] Faster code?

2005-12-23 Thread Hans Wichman
Just to those that are reading this thread and wondering if writing neat documented code for clients (and payed for by clients) is an illusion, my 2 cents: we've been working on a project (complete virtual learning city) in flash in which the client didnt really know what he wanted up front,

Re: [Flashcoders] Faster code?

2005-12-23 Thread Paul BH
I'm so glad I opened such a juicy can of worms just before Christmas ;) I just want to throw one more thing into the mix before I dissappear off to numb my family reunion with hefty doses of alcohol... So, now I think my comments before about, erm comments still stand. I see comments differently

Re: [Flashcoders] Faster code?

2005-12-23 Thread JesterXL
Message - From: Paul BH [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, December 23, 2005 10:31 AM Subject: Re: [Flashcoders] Faster code? I'm so glad I opened such a juicy can of worms just before Christmas ;) I just want to throw one more

Re: [Flashcoders] Faster code?

2005-12-23 Thread Paul BH
! - Original Message - From: Paul BH [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, December 23, 2005 10:31 AM Subject: Re: [Flashcoders] Faster code? I'm so glad I opened such a juicy can of worms just before Christmas ;) I just

Re: [Flashcoders] Faster code?

2005-12-23 Thread JesterXL
, December 23, 2005 10:53 AM Subject: Re: [Flashcoders] Faster code? 1) I agree, that's why back to my earlier thing, I rarely comment - what ASDoc does do however is provide a way of displaying things like your method signature in a friendly HTML like manner, with a handy index down the side. When I do

RE: [Flashcoders] Faster code?

2005-12-23 Thread Merrill, Jason
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, December 23, 2005 10:56 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Faster code? Oh yeah definatly. Even though Natural Doc's syntax feels more straightforward

Re: [Flashcoders] Faster code?

2005-12-23 Thread Paul BH
] On Behalf Of JesterXL Sent: Friday, December 23, 2005 10:56 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Faster code? Oh yeah definatly. Even though Natural Doc's syntax feels more straightforward, ASDoc definately has the most beautiful output that I've seen to date

RE: [Flashcoders] Faster code?

2005-12-23 Thread Merrill, Jason
] On Behalf Of JesterXL Sent: Friday, December 23, 2005 10:56 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Faster code? Oh yeah definatly. Even though Natural Doc's syntax feels more straightforward, ASDoc definately has the most beautiful output that I've seen to date

RE: [Flashcoders] Faster code?

2005-12-23 Thread Merrill, Jason
- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:42 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Faster code? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original

Re: [Flashcoders] Faster code?

2005-12-23 Thread hank williams
| E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:42 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Faster code

Re: [Flashcoders] Faster code?

2005-12-23 Thread JesterXL
:15 PM Subject: RE: [Flashcoders] Faster code? Ah - I guess it is. Says that WAY down the web page - not in the top where it says, download. What's the best one for Windows? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL

RE: [Flashcoders] Faster code?

2005-12-23 Thread Merrill, Jason
:16 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Faster code? Ah - I guess it is. Says that WAY down the web page - not in the top where it says, download. What's the best one for Windows? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original

Re: [Flashcoders] Faster code?

2005-12-23 Thread Mark Ribau
@chattyfig.figleaf.com Sent: Friday, December 23, 2005 12:15 PM Subject: RE: [Flashcoders] Faster code? Ah - I guess it is. Says that WAY down the web page - not in the top where it says, download. What's the best one for Windows? -- Mark Ribau Lead Windows Developer | My Tech Blog http

Re: [Flashcoders] Faster code?

2005-12-23 Thread Jim Kremens
. - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, December 23, 2005 12:15 PM Subject: RE: [Flashcoders] Faster code? Ah - I guess it is. Says that WAY down the web page - not in the top where it says

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
If you change that function, do you re-write all of your documentation? Nope,. just add a modified comment and, if necessary, a brief description of how it was changed. Usually I write the comments before I write (or modify) the function or class, which is a great way to to write cleaner

RE: [Flashcoders] Faster code?

2005-12-22 Thread Steven Sacks
:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 6:40 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Faster code? Re-read your email. Only recently have I been on bigger projects. Even so, I'm usually the main developer for a given code-base, and others are on other

RE: [Flashcoders] Faster code?

2005-12-22 Thread Merrill, Jason
: Thursday, December 22, 2005 2:07 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Faster code? Just to offer you guys a different take on this - It seems that my post was encouraging extensive commenting of code. Actually, you will find barely any comments in my code. I find

Re: [Flashcoders] Faster code?

2005-12-22 Thread Paul BH
| icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Paul BH Sent: Thursday, December 22, 2005 2:07 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Faster code? Just to offer you guys a different take

Re: [Flashcoders] Faster code?

2005-12-22 Thread JesterXL
Subject: Re: [Flashcoders] Faster code? Re-read your email. Only recently have I been on bigger projects. Even so, I'm usually the main developer for a given code-base, and others are on other projects, so no ones ever looking at the code next to me. Secondly, the requirements + code-base change

RE: [Flashcoders] Faster code?

2005-12-22 Thread Steven Sacks
I'm sure at places like Microsoft, etc. where you have many people working on the same project, which will eventually be upgraded to new versions, possibly by a mostly new team, in a coding language that doesn't receive major revisions every year or so, then yes it makes sense. The reason Jesse

Re: [Flashcoders] Faster code?

2005-12-22 Thread Count Schemula
I comment because I'm a total hack. The comments are for me, in case I need to revisit the code, like, next week. :D It also helps me see what I'm doing, and sometimes improvements are more apparent after commenting. ___ Flashcoders mailing list

Re: [Flashcoders] Faster code?

2005-12-22 Thread hank williams
Jesse's comments about how his code is basically disposable (my word) is interesting. I think it reflects the nature of flash and its history. For example I am working on a fairly complex project. I have been working on it for more than a year. It has lots of pieces that interact. And what

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
The ah-hoc comes from scope creep lack of a clear vision, not from developer planning. I could plan things to a T, only to have a client change their mind, and pay for that change, rendering my planning useless.. I don't lose sleep cause I'm getting paid for it. You know that youl live

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
The longevity of Flash code is also dubious. I mean, C/C++ pretty much stay the same. Each new version of AS adds all kinds of new syntax, class structure, methods, etc. Actionscript is far too malleable to have any real shelf life. It is pretty much the stated goal of Macromedia to put

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
I think it reflects the nature of flash and its history. Not to mention the diverse skillset of its developer-base. A lot of people learned to write code in Flash, and the question of whether they are doing it the right way or not is debatable. In other words, as flash becomes a real

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
I've yet to get a death threat from some poor sod to who had to maintain my code... but, to be on the safe side, I always keep my glock loaded. I've come pretty close to issuing several of those death threats. ;-) ryanm ___ Flashcoders mailing

RE: [Flashcoders] Faster code?

2005-12-21 Thread Nick Weekes
Beware thy micro-optimisations, for thy bring thee doom pain and misery -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ribau Sent: 21 December 2005 16:16 To: 'Flashcoders mailing list' Subject: [Flashcoders] Faster code? Anyone know of good

Re: [Flashcoders] Faster code?

2005-12-21 Thread JesterXL
Your trying to optimize Myst? - Original Message - From: Mark Ribau [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 11:16 AM Subject: [Flashcoders] Faster code? Anyone know of good optimizations to make to code so

RE: [Flashcoders] Faster code?

2005-12-21 Thread Nick Weekes
lol that's what I was thinking of looking at that site, couldn't put a name to it tho... good spot Jessie. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: 21 December 2005 16:38 To: Flashcoders mailing list Subject: Re: [Flashcoders

Re: [Flashcoders] Faster code?

2005-12-21 Thread Mark Ribau
lol. Indeed. :-) Good job at recognizing some of the inspiration behind the interface. The goal is more to create a system for making easy virtual tours of either real locations or fantasy worlds. Got any thoughts/suggestions? JesterXL wrote: Your trying to optimize Myst? - Original

Re: [Flashcoders] Faster code?

2005-12-21 Thread JesterXL
, December 21, 2005 11:53 AM Subject: Re: [Flashcoders] Faster code? lol. Indeed. :-) Good job at recognizing some of the inspiration behind the interface. The goal is more to create a system for making easy virtual tours of either real locations or fantasy worlds. Got any thoughts/suggestions

Re: [Flashcoders] Faster code?

2005-12-21 Thread Mark Winterhalder
On 12/21/05, Mark Ribau [EMAIL PROTECTED] wrote: Anyone know of good optimizations to make to code so that it'll run faster in Flash? functions: avoid, if at all possible. methods of intrinsic classes are ok (e.g. Math.round()), but calling an AS function is very slow. if you have to use

Re: [Flashcoders] Faster code?

2005-12-21 Thread Mark Ribau
Message - From: Mark Ribau [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 11:53 AM Subject: Re: [Flashcoders] Faster code? lol. Indeed. :-) Good job at recognizing some of the inspiration behind the interface. The goal

Re: [Flashcoders] Faster code?

2005-12-21 Thread JesterXL
, it's still nice to know where you can go. - Original Message - From: Mark Ribau [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 1:25 PM Subject: Re: [Flashcoders] Faster code? Well, there's no specific place right now. I'm

Re: [Flashcoders] Faster code?

2005-12-21 Thread Mark Ribau
, because while you're exploring, it's still nice to know where you can go. - Original Message - From: Mark Ribau [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 1:25 PM Subject: Re: [Flashcoders] Faster code? Well

Re: [Flashcoders] Faster code?

2005-12-21 Thread Éric Thibault
the dots like you made dots on the map in Legend of Zelda. What part don't you like? - Original Message - From: Mark Ribau [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 11:53 AM Subject: Re: [Flashcoders] Faster code

Re: [Flashcoders] Faster code?

2005-12-21 Thread Mark Ribau
: Wednesday, December 21, 2005 11:53 AM Subject: Re: [Flashcoders] Faster code? lol. Indeed. :-) Good job at recognizing some of the inspiration behind the interface. The goal is more to create a system for making easy virtual tours of either real locations or fantasy worlds. Got any thoughts/suggestions

RE: [Flashcoders] Faster code?

2005-12-21 Thread Steven Sacks
the fastest loop through an array is: var len = myArray.length; while( len-- ) { ... } yes, it's faster then for..in. Not always. Sometimes, this loop is faster than a while (i--) for (var i = items.length; --i - (-1); ) { ... } It's ugly, yes, but it is faster than

Re: [Flashcoders] Faster code?

2005-12-21 Thread Paul BH
I think these are all great, but if I can be the voice of caution for a moment... remember that when you write code, it is for 2 interpreters: 1) the Actionscript VM 2) the person who has to go back and change stuff at a later date, which may or may not be you... Its often very easy to forget

Re: [Flashcoders] Faster code?

2005-12-21 Thread JesterXL
Message - From: Paul BH [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 4:49 PM Subject: Re: [Flashcoders] Faster code? I think these are all great, but if I can be the voice of caution for a moment... remember that when you

Re: [Flashcoders] Faster code?

2005-12-21 Thread ryanm
Anyone know of good optimizations to make to code so that it'll run faster in Flash? What specific problems are you trying to overcome with these optimizations? Optimizing before the code is completely written isn't optimization, it's simply obfuscation. To optimize something implies that

Re: [Flashcoders] Faster code?

2005-12-21 Thread Judah Frangipane
BH [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 4:49 PM Subject: Re: [Flashcoders] Faster code? I think these are all great, but if I can be the voice of caution for a moment... remember that when you write code, it is for 2

RE: [Flashcoders] Faster code?

2005-12-21 Thread Adrian Lynch
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Judah Frangipane Sent: 21 December 2005 23:10 To: Flashcoders mailing list Subject: Re: [Flashcoders] Faster code? This happens all too often. As common as this is, it is something you *must* do. Especially if you are the person

Re: [Flashcoders] Faster code?

2005-12-21 Thread JesterXL
, 2005 6:10 PM Subject: Re: [Flashcoders] Faster code? This happens all too often. As common as this is, it is something you *must* do. Especially if you are the person that has to go back and change stuff at a later date. I dont know how many times I have gone back and looked at my code and I was like

Re: [Flashcoders] Faster code?

2005-12-21 Thread JesterXL
If you change that function, do you re-write all of your documentation? - Original Message - From: ryanm [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 6:09 PM Subject: Re: [Flashcoders] Faster code? What I want

Re: [Flashcoders] Faster code?

2005-12-21 Thread JesterXL
believes they work. - Original Message - From: ryanm [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 21, 2005 6:09 PM Subject: Re: [Flashcoders] Faster code? What I want to know is who is paying for #2? Very rarely do I ever get