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. Other Discussions
  3. The Weird and The Wonderful
  4. The "Yeah baby" increment way...

The "Yeah baby" increment way...

Scheduled Pinned Locked Moved The Weird and The Wonderful
database
11 Posts 9 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.
  • A akyriako78

    string orderId = "PPP3845";

    //get id for new order by increment the last by one
    orderId++;

    ...and he got the nerve to ask me what was wrong !!!! I wont mention the look on his face when i started explaining about Auto Incremental fields in the database and the meaning of "being a string". This man is allowed to code...Jesus. I need a drink even with the thought that i will have to review his code.

    T Offline
    T Offline
    Thomas Weller 0
    wrote on last edited by
    #2

    This is really very "_Yeah baby"... :laugh: It's the craziest thing I've ever seen (in "professional" programming)...

    predragzakisevic wrote:

    This man is allowed to code...Jesus

    In a company? Is it a team mate of you? I think I'd drink myself into oblivion in such a case. :) Things/people like this contributed much to my decision to become a freelance developer (this does not necessarily mean that I am free of any mistakes, but I can usually handle them). Regards Thomas

    www.thomas-weller.de Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
    Programmer - an organism that turns coffee into software.

    _

    A 1 Reply Last reply
    0
    • T Thomas Weller 0

      This is really very "_Yeah baby"... :laugh: It's the craziest thing I've ever seen (in "professional" programming)...

      predragzakisevic wrote:

      This man is allowed to code...Jesus

      In a company? Is it a team mate of you? I think I'd drink myself into oblivion in such a case. :) Things/people like this contributed much to my decision to become a freelance developer (this does not necessarily mean that I am free of any mistakes, but I can usually handle them). Regards Thomas

      www.thomas-weller.de Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
      Programmer - an organism that turns coffee into software.

      _

      A Offline
      A Offline
      akyriako78
      wrote on last edited by
      #3

      Thomas Weller wrote:

      In a company? Is it a team mate of you?

      Yep. In a company. Very respectful one in my country. That's whats happening when you get a job by your connections and not by an interview. At least he is below me in the company structure and he is underpaid. I can live with it then, but i have to answer to his dumpass question throughout the day. Imagine if he had an opinion. Ouch this IS horror.

      A Y V 3 Replies Last reply
      0
      • A akyriako78

        string orderId = "PPP3845";

        //get id for new order by increment the last by one
        orderId++;

        ...and he got the nerve to ask me what was wrong !!!! I wont mention the look on his face when i started explaining about Auto Incremental fields in the database and the meaning of "being a string". This man is allowed to code...Jesus. I need a drink even with the thought that i will have to review his code.

        F Offline
        F Offline
        Fatbuddha 1
        wrote on last edited by
        #4

        Thanks, you cheered up my day! Cheers

        You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)

        1 Reply Last reply
        0
        • A akyriako78

          Thomas Weller wrote:

          In a company? Is it a team mate of you?

          Yep. In a company. Very respectful one in my country. That's whats happening when you get a job by your connections and not by an interview. At least he is below me in the company structure and he is underpaid. I can live with it then, but i have to answer to his dumpass question throughout the day. Imagine if he had an opinion. Ouch this IS horror.

          A Offline
          A Offline
          annathor
          wrote on last edited by
          #5

          how can somebody makeing such errors ever be "underpaid"? any payment is to much for "coders" like that

          1 Reply Last reply
          0
          • A akyriako78

            Thomas Weller wrote:

            In a company? Is it a team mate of you?

            Yep. In a company. Very respectful one in my country. That's whats happening when you get a job by your connections and not by an interview. At least he is below me in the company structure and he is underpaid. I can live with it then, but i have to answer to his dumpass question throughout the day. Imagine if he had an opinion. Ouch this IS horror.

            Y Offline
            Y Offline
            Yusuf
            wrote on last edited by
            #6

            predragzakisevic wrote:

            That's whats happening when you get a job by your connections and not by an interview.

            speak for your self man. I use to work at an IT department with so many people who got the job by connection. There was this guy who use to repair computers and carry his tools in 'tools belt' like electricians. we use to joke how he carry his hammer with him.... :rolleyes:

            Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

            1 Reply Last reply
            0
            • A akyriako78

              Thomas Weller wrote:

              In a company? Is it a team mate of you?

              Yep. In a company. Very respectful one in my country. That's whats happening when you get a job by your connections and not by an interview. At least he is below me in the company structure and he is underpaid. I can live with it then, but i have to answer to his dumpass question throughout the day. Imagine if he had an opinion. Ouch this IS horror.

              V Offline
              V Offline
              Viral Upadhyay
              wrote on last edited by
              #7

              predragzakisevic wrote:

              That's whats happening when you get a job by your connections and not by an interview

              Spot on friend, In my Previous job some coder didnt know funda of Array :~ I didnt know how they graduate in university :^)

              Viral My Site Tips & Tracks

              1 Reply Last reply
              0
              • A akyriako78

                string orderId = "PPP3845";

                //get id for new order by increment the last by one
                orderId++;

                ...and he got the nerve to ask me what was wrong !!!! I wont mention the look on his face when i started explaining about Auto Incremental fields in the database and the meaning of "being a string". This man is allowed to code...Jesus. I need a drink even with the thought that i will have to review his code.

                J Offline
                J Offline
                John R Shaw
                wrote on last edited by
                #8

                :omg: - :laugh: :laugh: :laugh: :laugh: :laugh:

                INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

                1 Reply Last reply
                0
                • A akyriako78

                  string orderId = "PPP3845";

                  //get id for new order by increment the last by one
                  orderId++;

                  ...and he got the nerve to ask me what was wrong !!!! I wont mention the look on his face when i started explaining about Auto Incremental fields in the database and the meaning of "being a string". This man is allowed to code...Jesus. I need a drink even with the thought that i will have to review his code.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #9

                  It does lead one to think of a good new variable type though.... alphanum it could be explained in 2 lines 9 + 1 = A Z + 1 = 10 Why would one want this variable? Well in product tracking or any labeling we tend to use AlphaNumeric strings for tracking because there are WAY more values in the same amount of characters. numeric 4 char has 10000 possiblities while alpha numeric has 1679616 possibilities. Of course add another character and you have increased it by a factor of 3.6 : 1 compared to numeric. So obviously IEs tend to choose alpha numeric for tracking info. It would be nice if the programming world allowed us to do this also.

                  A 1 Reply Last reply
                  0
                  • A akyriako78

                    string orderId = "PPP3845";

                    //get id for new order by increment the last by one
                    orderId++;

                    ...and he got the nerve to ask me what was wrong !!!! I wont mention the look on his face when i started explaining about Auto Incremental fields in the database and the meaning of "being a string". This man is allowed to code...Jesus. I need a drink even with the thought that i will have to review his code.

                    N Offline
                    N Offline
                    Niklas L
                    wrote on last edited by
                    #10

                    You found a Perl programmer :)

                    home

                    1 Reply Last reply
                    0
                    • L Lost User

                      It does lead one to think of a good new variable type though.... alphanum it could be explained in 2 lines 9 + 1 = A Z + 1 = 10 Why would one want this variable? Well in product tracking or any labeling we tend to use AlphaNumeric strings for tracking because there are WAY more values in the same amount of characters. numeric 4 char has 10000 possiblities while alpha numeric has 1679616 possibilities. Of course add another character and you have increased it by a factor of 3.6 : 1 compared to numeric. So obviously IEs tend to choose alpha numeric for tracking info. It would be nice if the programming world allowed us to do this also.

                      A Offline
                      A Offline
                      akyriako78
                      wrote on last edited by
                      #11

                      Collin Jasnoch wrote:

                      for tracking

                      Yes its a product tracking software indeed.

                      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