Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: pburgh01
string[] libLies = {"Stimulus","Tarp","Closing Gitmo","Iran","Anything Else"} for(int i=0,i < libLies.Length,i++) { string.format("This {0} plan worked to deny it is more blind partisanship, the kind that permeated our political culture the last 8 years",libLies[i]) } Sorry little computer programmer nerd humor.

But this is an infinite loop. Where is the exit from it? After all, liberals lie infinitely.

59 posted on 02/21/2010 6:00:26 AM PST by ProudFossil
[ Post Reply | Private Reply | To 51 | View Replies ]


To: ProudFossil; pburgh01
No, the for loop is okay. He's got an array length limitation. My problem with his code is he doesn't use the much-more-convenient List<> Generic with the built-in IEnumerator and the fact he uses array elements instead of Objects. Furthermore, every new congressional spending effort requires a full redeploy, because the vallues are hardcoded. I'm using data instead -- add a record and BANG there's another lie. Much easier.

Besides: Where's the object orientation? Why a console-app in this WWW world?

C++'ers. Every time. They think the world is a monochrome CRT and forget how to use objects. That's why we C#'ers took over. :)

65 posted on 02/21/2010 6:05:21 AM PST by Lazamataz (Do it for the children.)
[ Post Reply | Private Reply | To 59 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson