Explain more what you mean by saying the if is problematic and obsolete ?
-----Original Message----- From: Bill Brutzman <bi...@hkmetalcraft.com> To: U2 Users List <firstname.lastname@example.org> Sent: Thu, Apr 19, 2012 1:35 pm Subject: Re: [U2] Case Statement with only two cases... or for that matter... one case The case statement has a huge advantage in what really matters... human eadability... that is the point. >From readability follows... reliability, maintainability, and testability... etter, cleaner, safer software. An irony is that while the "if" statement... is the cornerstone of all omputing... the "if" is also a problematic and mostly obsolete construct. --Bill -----Original Message----- rom: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] n Behalf Of Wjhonson ent: Thursday, April 19, 2012 3:52 PM o: email@example.com ubject: [U2] Case Statement with only two cases s there a point in code like this BEGIN CASE CASE A = "TEST"; GOSUB DO.SOMETHING CASE 1; GOSUB DO.SOMETHING.ELSE ND CASE versus this IF A = "TEST" THEN GOSUB DO.SOMETHING ELSE GOSUB DO.SOMETHING.ELSE Personally I see no advantage in making this a CASE Does the rest of the *Universe* agree with me? ______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users