need a code sample for bubble sort

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Wilkens

    #31
    Re: need a code sample for bubble sort

    While I agree that it is a bit ridiculous, the person asking for the bubble
    sort was probably a college kid looking to cheat, and I don't think any of
    us should be condoning that.

    -Rob
    "Daniel Billingsley" <dbillingsley@N O.durcon.SPAAMM .com> wrote in message
    news:uFIonoojDH A.1764@tk2msftn gp13.phx.gbl...[color=blue]
    > That has to be the most ridiculous thing I've read in any NG ever. Oh[/color]
    man,[color=blue]
    > I can't stop laughing.
    >
    > "Stu Smith" <stuarts@remove .digita.com> wrote in message
    > news:eHV4OAajDH A.2456@TK2MSFTN GP09.phx.gbl...[color=green]
    > >
    > > This newgroups should be for questions regarding the C# language, not
    > > algorithms written in it, not apps written in it, not help with the
    > > framework.
    > >
    > > The language ONLY.
    > >[/color]
    >
    >[/color]


    Comment

    • Daniel Billingsley

      #32
      Re: need a code sample for bubble sort

      I wasn't commenting on the OP, only on the statement that a newsgroup about
      a language should not discuss algorithms written in it.

      "Robert Wilkens" <robw@optonline .net> wrote in message
      news:OxaOVtojDH A.3320@tk2msftn gp13.phx.gbl...[color=blue]
      > While I agree that it is a bit ridiculous, the person asking for the[/color]
      bubble[color=blue]
      > sort was probably a college kid looking to cheat, and I don't think any of
      > us should be condoning that.
      >
      > -Rob[/color]


      Comment

      • Stu Smith

        #33
        Re: need a code sample for bubble sort

        Alright I was having a bad day, but don't you ever get frustrated that this
        ng just fills up with basically rubbish?
        It should be for discussing the language (and yes I suppose that applies to
        algorithms)... but it shouldn't be a forum for "how do I do sorting?" (fair
        enough, "what's the most optimal/elegant/whatever sorting algorithm in C#"
        maybe, I could have been a bit clearer).

        As an example about the sort of things that annoy me, at the top of my list
        I have (on this ng):

        My NT Services crash at startup
        Best method to parse XML
        DataGrid column delete question
        How to implement move next etc in datagrid

        All valid questions, but not here... the low signal-to-noise ratio is
        getting me.

        I admit I could have phrased my rant a little better. I hope you see what I
        meant (and not what I actually wrote, which on today's reading was slightly
        ridiculous).

        Since I can't explain in words what I thought this ng was about, I'll give
        some examples of posts which seem to fit the bill (took rather more
        searching this one):

        Quick way to toggle a bit
        Idea for furture version of C#...
        C# generics: is it possible...

        Just frustrating that the on-topic questions are there, but you have to wade
        through a sea of rubbish.

        Stu


        "Daniel Billingsley" <dbillingsley@N O.durcon.SPAAMM .com> wrote in message
        news:O0Nbb5ojDH A.744@tk2msftng p13.phx.gbl...[color=blue]
        > I wasn't commenting on the OP, only on the statement that a newsgroup[/color]
        about[color=blue]
        > a language should not discuss algorithms written in it.
        >
        > "Robert Wilkens" <robw@optonline .net> wrote in message
        > news:OxaOVtojDH A.3320@tk2msftn gp13.phx.gbl...[color=green]
        > > While I agree that it is a bit ridiculous, the person asking for the[/color]
        > bubble[color=green]
        > > sort was probably a college kid looking to cheat, and I don't think any[/color][/color]
        of[color=blue][color=green]
        > > us should be condoning that.
        > >
        > > -Rob[/color]
        >
        >[/color]


        Comment

        • Empire City

          #34
          Re: need a code sample for bubble sort =+ \r thingy mee gigs

          > It should be for discussing the language (and yes I suppose that applies
          to

          Yes, but people who contribute regularly can be cut some slack. Here's a
          different group that has some reasonable guidlines for posting:

          http://www.wwwac.org/ Look at the guidlines link on the bottom left.

          A bit of entertainment boosts productivity, in my opinion.
          [color=blue]
          > My NT Services crash at startup[/color]

          Upgrade to W2K server.
          [color=blue]
          > Best method to parse XML
          > DataGrid column delete question
          > How to implement move next etc in datagrid
          > All valid questions, but not here... the low signal-to-noise ratio is
          > getting me.[/color]

          How many people read this list regularly? Most of the above types of
          questions go unanswered and RTM applies. There are a lot of beginners from
          what I see. It's a community of basically smart programmer type people and
          reflects real life.
          [color=blue]
          > Just frustrating that the on-topic questions are there, but you have to[/color]
          wade[color=blue]
          > through a sea of rubbish.[/color]

          It is a bit noisy but beginners have to start somewhere. I hope my bubble
          doesn't burst. We all like bubbles and it would be nice if whoever posted
          that question could come up with some elegant code complely violating the
          'no algorithm' rule. Maybe he'll avoid selective prosceution then.

          Just as a side note on my /r thingy mee gig question. Thanks for the replies
          as that basically helped for what I wanted. My real question was however
          what is the formal name of these things and where is the documentation?

          \' Single quote
          \" Double quote
          \\ Backslash
          \0 Null
          \a Alert / Bell
          \b Backspace
          \f Form feed
          \n New line
          \r Carriage return
          \t Horizontal tab
          \v Vertical tab







          Comment

          • Jon Skeet [C# MVP]

            #35
            Re: need a code sample for bubble sort =+ \r thingy mee gigs

            Empire City <a@b.com> wrote:

            <snip>
            [color=blue]
            > Just as a side note on my /r thingy mee gig question. Thanks for the replies
            > as that basically helped for what I wanted. My real question was however
            > what is the formal name of these things and where is the documentation?[/color]

            They're called escape sequences, and they're listed in section 9.4.4.4
            of the C# ECMA spec, "character literals".

            --
            Jon Skeet - <skeet@pobox.co m>
            Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

            If replying to the group, please do not mail me too

            Comment

            Working...