Meaningful function names? Who needs 'em?



  • Found this:

    // Despite the name, this function does not actually test the ability of the plugin
    // to make a POST connection.  Rather, it is called to trigger certain magical side
    // effects on some webservers that host plugin content.
    //
    // The nature and purpose of these side effects is not documented, so this function
    // should be treated as a black box that inspects the same parameters and generates
    // the same network outputs as it did in version 7.4 of the plugin.
    //
    // Return values from this plugin should not be considered indicative of actual success
    // or failure of the network connection.
    const char* getTestPostResult( void )
    


  •  A function that does "something <font face="Arial"><font color="#000000">magical</font></font>" and returns "something <font color="#000000"><font face="Arial">indefinable</font></font><font face="Arial"><font color="#000000">" called randomly (according to the comment) throughout the code. </font></font>

     Brillant



  •  This reminds me of a certain high school English Lit. teacher I had who would mumble the entire time and would always talk about stuff besides literature and then give us pop quizzes over stuff we never covered. The syllabus was useless, and the teacher never gave us any hints on what the quizzes would be over, so everyone failed the class until the teacher got sacked for her massive incompetence and temper and we all got an A by default.

     

    That was an awesome year.



  •  So what you are saying is that your English teacher got a new job as a programmer and wrote that function?



  • I think we should be thankful for this excellent comment.



  • @JohnWestMinor said:

     This reminds me of a certain high school English Lit. teacher I had who would mumble the entire time and would always talk about stuff besides literature and then give us pop quizzes over stuff we never covered. The syllabus was useless, and the teacher never gave us any hints on what the quizzes would be over, so everyone failed the class until the teacher got sacked for her massive incompetence and temper and we all got an A by default.

     

    That was an awesome year.

    I had a few oddball teachers as well in high school.  First, I had one teacher who do the math tests himself, on the board while we were taking the exam.  Second, was a teacher indicted for selling drugs to students.  He fled and was eventually caught and arrested.  Third was a teacher who offered 50 to any student who off'd themselves in a creative manner.  And finallay there was a science teacher who would give higher grades if you showed up to class in a skimpy outfit (Regardless of your gender).  At the end of the year when a lot of people were failing it was funny to see the jocks showing up in rather short kilts.  Another teacher also forged his teaching certificate.

     The other teachers however, more than made up for the idiocy of the above teachers.  Also only 50% of my elementary school class could read by the time they hit high school.   



  • @galgorah said:

    I had a few oddball teachers as well in high school.
     

    :D

    @galgorah said:

    Also only 50% of my elementary school class could read by the time they hit high school.   

    That is disgraceful.

     



  • @dhromed said:

    @galgorah said:
    Also only 50% of my elementary school class could read by the time they hit high school.   

    That is disgraceful.

     

    The US education system is TWTF. Not implying that any other country doesn't have a screwed up education system equal or worse to the US, just that the US one is truly fucked up. Especially when you have things like this going on Texas Conservatives Win Curriculum Change


  • Discourse touched me in a no-no place

    @OzPeter said:

    Especially when you have things like this going on Texas Conservatives Win Curriculum Change
    Just skimmed it, but is that the one where they want Genesis in science books as science-fact?



  • @dhromed said:

    @galgorah said:

    Also only 50% of my elementary school class could read by the time they hit high school.   

    That is disgraceful.

     

    Thats what happens when 70 percent of the voters in your town are in their late elder years.  any time school funding was a votable issue they voted always not to increase and always to decrease.  Now that they've all died off the schools in my home town have been steadily improving over the past decade.


  • @PJH said:

    @OzPeter said:
    Especially when you have things like this going on Texas Conservatives Win Curriculum Change
    Just skimmed it, but is that the one where they want Genesis in science books as science-fact?
    It's the one where they wanted to do such things as minimize things and people like abraham lincoln, JFK, civil rights movement, womans suffrage, etc. This was in order to devote more time to people that were very unimportant.  In other words they wanted to rewrite history in a christian fundamentalist light.


  • Discourse touched me in a no-no place

    @galgorah said:

    @PJH said:

    @OzPeter said:
    Especially when you have things like this going on Texas Conservatives Win Curriculum Change
    Just skimmed it, but is that the one where they want Genesis in science books as science-fact?
    It's the one where they wanted to do such things as minimize things and people like abraham lincoln, JFK, civil rights movement, womans suffrage, etc. This was in order to devote more time to people that were very unimportant.  In other words they wanted to rewrite history in a christian fundamentalist light.

    Ah, my skimming caught those, but thought they were sidelines, not the main thrust, of the crap.



  • @PJH said:

    @galgorah said:

    @PJH said:

    @OzPeter said:
    Especially when you have things like this going on Texas Conservatives Win Curriculum Change
    Just skimmed it, but is that the one where they want Genesis in science books as science-fact?
    It's the one where they wanted to do such things as minimize things and people like abraham lincoln, JFK, civil rights movement, womans suffrage, etc. This was in order to devote more time to people that were very unimportant.  In other words they wanted to rewrite history in a christian fundamentalist light.

    Ah, my skimming caught those, but thought they were sidelines, not the main thrust, of the crap.
    Ya the even more unfortunate side effect is that textbook makers tend to design their textbooks for texas so this garbage will spread to many other states as well.


  • @PJH said:

    @OzPeter said:
    Especially when you have things like this going on Texas Conservatives Win Curriculum Change
    Just skimmed it, but is that the one where they want Genesis in science books as science-fact?

    Thankfully, that was soundly struck down in 2005 (see Dover v. Kitzmiller). The judge (apparently a conservative) was wonderfully derisive of the whole enterprise.



  • @toth said:

    @PJH said:
    @OzPeter said:
    Especially when you have things like this going on Texas Conservatives Win Curriculum Change
    Just skimmed it, but is that the one where they want Genesis in science books as science-fact?

    Thankfully, that was soundly struck down in 2005 (see Dover v. Kitzmiller). The judge (apparently a conservative) was wonderfully derisive of the whole enterprise.

     

    To maintain my Pedantic Dickweed title, I'm going to point out that the case in question is Kitzmiller v. Dover (the defendant was the Dover Area School District). See here.


Log in to reply