Wednesday, June 4, 2008

Flex Calculator Beta

The last two installments in the Learning Flex From Scratch series on InsideRIA have focused on the programming of a calculator built in Flex. Adam created a non-functioning calculator, and as an assignment, I was to code the logic into it so it would work.

I got it to work, sort of, but there are a few bugs. Here is the version I came up with:





View Source - Download Source





And here is the version that Adam came up with after doing a code review and applying the principles of best practices:





View Source - Download Source






We'll post an updated version when we get the bugs fixed, so please be patient!

Cheers!

About Me