Flex
2.0 is much better and goes as far as to enforce these
things.
Jason
-----Message d'origine-----Hi all,
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Alban Soupper
Envoyé : jeudi 6 avril 2006 11:58
À : 'flexcoders@yahoogroups.com'
Objet : RE: [flexcoders] Question to Adobe about Flex Framework 1.5 Code Quality
These few days, I dig also in the "debug" sources of Flex 1.5....
It's really what we can call very very bad code!
Each lack of control of the MMC compiler is used.
Damned! I never saw such bad programming style!
Just an exemple from the Button code:
-----------------------------
function getBtnOffset():Number
{
if(getState())
{
var n = btnOffset;
}
else
{
if(phase == "down")
{
var n = btnOffset;
}
else
{
var n = 0;
}
}
return n;
}
-------------------------------
--> untype variables
--> bad variables scopes
The first guy coding this way in my team is fired!
Hope Flex 2 will be more professional.....
Alban.
PS: Enjoy the weird world of Flex 1.5 :-) ...
-----Original Message-----
From: Stanislav Zayarsky [mailto:[EMAIL PROTECTED]
Sent: jeudi, 6. avril 2006 11:38
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question to Adobe about Flex Framework 1.5 Code
Quality
Hello FlexCoders,
Recently I have discovered very weird bug in ViewStack, I haven't been
able to reproduce it yet, will do that later, so in the meantime I
started to explore Flex source files, and look what interesting code I
see there(see attachment)
This is just excerpt from one file, I haven't touched others.
I'm not a programmer Guru, but I know few things like Duplication is bad!
So how Adobe can create such code??? Are you sleep well after this?
Or this is new Design Pattern called "Copy/Paste"?
And it is no wonder why there is so much bugs after this! Shame on you!
Best regards
Stanislav
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.