Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Oliver Sedlacek
02/26/13 09:59
Read: 945 times

#189486 - Indeed
Responding to: Andy Neil's previous message
Convoluted conditional expressions like the one shown in Listing 2.1, scattered throughout the code, are unnecessarily complex and expensive to evaluate at runtime. They are also notoriously difficult to get right, even by experienced programmers, as the bugs still lurking in the Visual Basic calculator attest. This approach is insidious because it appears to work fine initially, but doesn't scale up as the problem grows in complexity. Apparently, the calculator application (overall only seven event handlers and some 140 lines of Visual Basic code including comments) is just complex enough to be difficult to get right with this approach.

Nuff said.

List of 5 messages in thread
State Machines, & Stuff that "works" - but is full of bugs!      Andy Neil      02/26/13 03:53      
   Indeed      Oliver Sedlacek      02/26/13 09:59      
   Even ?       Steve M. Taylor      02/27/13 14:09      
      That's odd      Andy Neil      02/27/13 15:51      
         I'd bet many have spotted it, but since it happens to us all      Richard Erlacher      02/28/13 11:18      

Back to Subject List