Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What was he thinking

What was he thinking

Scheduled Pinned Locked Moved The Lounge
help
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    StevenWalsh
    wrote on last edited by
    #1

    I would've put this in coding horror except the code works fine.... just one of the funniest comments i've seen :) string[] chUsedMachines; chUsedMachines = new string[20]; /*if theres more then 20 machines we're screwed, but hey that checklist would take forever to complete so for the tester who got stuck with that one, lets call this little bugger his savior */

    N 1 Reply Last reply
    0
    • S StevenWalsh

      I would've put this in coding horror except the code works fine.... just one of the funniest comments i've seen :) string[] chUsedMachines; chUsedMachines = new string[20]; /*if theres more then 20 machines we're screwed, but hey that checklist would take forever to complete so for the tester who got stuck with that one, lets call this little bugger his savior */

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      Why not use List<String> ?

      Regards, Nish


      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
      My latest book : C++/CLI in Action / Amazon.com link

      K 1 Reply Last reply
      0
      • N Nish Nishant

        Why not use List<String> ?

        Regards, Nish


        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
        My latest book : C++/CLI in Action / Amazon.com link

        K Offline
        K Offline
        KevinMac
        wrote on last edited by
        #3

        I am with you on this one. It has been long enough that we can safely say Generic Lists are production quality. :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups