What programming language to learn first...





  • Why is this in "Funny Stuff"? Where's the funny?



  • @blakeyrat said:

    Why is this in "Funny Stuff"? Where's the funny?
     

    It's you.



  • @dhromed said:

    @blakeyrat said:
    Why is this in "Funny Stuff"? Where's the funny?
    It's you.

    The magic feather was inside me the entire time!



  • @blakeyrat said:

    Why is this in "Funny Stuff"? Where's the funny?
    The funny comes from the fact that it is true.  I atleast got a chuckle out of it.



  • @blakeyrat said:

    The magic feather was inside me the entire time!
     

     ( סּДסּ)



  • @dhromed said:

    @blakeyrat said:

    The magic feather was inside me the entire time!
     

     ( סּДסּ)

    I was doing Dumbo you asshole.



  • @blakeyrat said:

    I was doing Dumbo you asshole.
     

    I know! I was lewdly subverting it.



  • @blakeyrat said:

    I was doing Dumbo you asshole.

    #1. Dumbo doesn't exist. I don't know who or what you were with, but it wasn't Dumbo.

    #2. I think there are laws against that kind of thing.



  • I bet i could get a website up just as quickly in C# as they can in PHP...



  • <font face="impact,chicago" size="6">I like Impact.</font>



  • @El_Heffe said:

    <FONT size=6 face=impact,chicago>I like Impact.</FONT>

    I would love to see you write a java program in impact.



  • @Anketam said:

    @El_Heffe said:

    <font face="impact,chicago" size="6">I like Impact.</font>

    I would love to see you write a java program in impact.

    I would like to see the impact of his nose upon my knee.



  • @Anketam said:

    I would love to see you write a java program in impact.
     

    <font face="impact,chicago" size="5">import java.util.*;

    public abstract class Diff
    {
     final public static int DONE = 3;
     final static int MATCH = 4;

     public Vector leftDiff, rightDiff;

     public Diff()
     {
      leftDiff = new Vector();
      rightDiff = new Vector();
     }

     public int more ()
     {
      leftDiff.clear();
      rightDiff.clear();
      int result = MATCH;
      while(result == MATCH)
      {
       Object leftObj = getLeft();
       if(leftObj != null)
       {
        Object rightObj = getRight();
        if(rightObj != null)
        {
         if(compare(leftObj, rightObj))
          result = MATCH;
         else
         {
          rightDiff.add(rightObj);
          int scrolled = 1;
          boolean foundMatchAgain = false;
          do
          {
           rightObj = getRight();
           if(rightObj != null)
           {
            scrolled++;
            rightDiff.add(rightObj);
            if(compare(leftObj, rightObj))
             foundMatchAgain = true;
           }
          }
          while(!foundMatchAgain && (rightObj != null));
          if(rightObj == null)
          {
           while(scrolled-- > 0)
           {
            ungetRight();
            rightDiff.remove(rightDiff.size()-1);
           }
           rightObj = getRight();
           leftDiff.add(leftObj);
           scrolled = 1;
           foundMatchAgain = false;
           do
           {
            leftObj = getLeft();
            if(leftObj != null)
            {
             scrolled++;
             leftDiff.add(leftObj);
             if(compare(leftObj, rightObj))
              foundMatchAgain = true;
            }
           }
           while(!foundMatchAgain && (leftObj != null));
           if(leftObj == null)
           {
            while(scrolled-- > 0)
            {
             ungetLeft();
             leftDiff.remove(leftDiff.size()-1);
            }
            leftObj = getLeft();
            leftDiff.add(leftObj);
            rightDiff.add(rightObj);
            foundMatchAgain = false;
            while(!foundMatchAgain)
            {
             leftObj = getLeft();
             rightObj = getRight();
             if(compare(leftObj, rightObj))
             {
              foundMatchAgain = true;
              ungetLeft();
              ungetRight();
             }
             else
             {
              leftDiff.add(leftObj);
              rightDiff.add(rightObj);
             }
            }
            result = CHG;
           }
           else
           {
            ungetLeft();
            leftDiff.remove(leftDiff.size()-1);
            ungetRight();
            result = DEL;
           }
          }
          else
          {
           ungetRight();
           rightDiff.remove(rightDiff.size()-1);
           ungetLeft();
           result = INS;
          }
         }
        }
        else
        {
         leftDiff.add(leftObj);
         result = DEL;
        }
       }
       else
       {
        Object rightObj = getRight();
        if(rightObj != null)
        {
         rightDiff.add(rightObj);
         result = INS;
        }
        else
         result = DONE;
       }
      }
      return(result);
     }  </font>



  • El_Heffe,

    You have kindled a small warm fuzzy feeling deep in my soul.



  • [quote user="<font face="impact,chicago" size="1">El_Heffe</font>"]<font face="impact,chicago" size="5">public Vector leftDiff, rightDiff;</font>[/quote]

    <font face="impact,chicago" size="2">:(</font>


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.