Oh But It Can. And So, So Well Too
Giles Bowkett has written a post that's generated much interest and controversy and hand-wringing and chest-thumping, which isn't bad for a post that's only three paragraphs long. I even weigh in with "Is Simplicity Really That Simple?" becaus it touches on a thought-path near and dear to me at the moment.
But the post itself is not why I write this, oh no. I write this because of a comment the ever-clever Anonymous left on Giles' blog, a comment which sums up my other post linked above so incredibly perfectly:
Anonymous said...
Visual Basic:
public class VotingMachine { public static var candiateNames:Array; public static var candiateVotes:Array; public static var candidateButtons:Array; public function VotingMachine():void { candiateNames = ["Bush", "Kerry", "Hilter", "Ghandi"] candiateButtons = [] candiateVotes = [] for (var a in candidateNames) { candidateButtons.push(new Button(candidateName[a])) candidateButtons[a].addEventListener(MouseEvent.CLICK, addVote) candiateVotes.push = new int() } } private function addVote(e:Event):void { var index:int = candiateNames.indexOf(e.target) if (index != -1) candidateVotes[index] += 1 else throw new Error("You have made up a candidate") } }<-- it can't go wrong.
Oh but it can Anonymous, it so very can, can't it?
(If only someone would develop some sort of software thingy that would allow you to check your code for errors before posting it for all the world to see. I bet that guy would be a millionaire...)

Jason Nussbaum responded on 05 Nov 2007 at 2:48 pm #
That’s what happens when you let Actionscript developers write voting applications.