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. I can't belive this

I can't belive this

Scheduled Pinned Locked Moved The Lounge
com
16 Posts 11 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 Alvaro Mendez

    Any chance you can set him up for an interview? We just gotta ask him whattahell he was thinking... I mean, using Spanish variables names inside an English program, geesh! :-) Regards, Alvaro Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

    R Offline
    R Offline
    Ryan Johnston 0
    wrote on last edited by
    #6

    Was it an English program? It looked like the only english was the dirty VB. Ryan Johnston

    P 1 Reply Last reply
    0
    • C Carlos Antollini

      I was reading a code in VBScript written by other developer and I can't believe that....

      if fecha <> "" then
      fecha = fecha
      else
      fecha = rs("fecha_opera")
      end if

      if nombre <> "" then
      nombre = nombre
      else
      nombre = rs("nombre_usuario")
      end if
      .
      .
      .
      'And continues

      Cheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini

      P Offline
      P Offline
      Paresh Solanki
      wrote on last edited by
      #7

      Maybe his english cousin works here ;P I've seen code very similar to that where I work Paresh Solanki "To the world, you may be just one person, but to one person, you may be the world"

      1 Reply Last reply
      0
      • R Ryan Johnston 0

        Was it an English program? It looked like the only english was the dirty VB. Ryan Johnston

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #8

        Ryan Johnston wrote: Was it an English program? It looked like the only english was the dirty VB. I wonder how much more difficult it is to learn to programme if English is not your first language? Most entities in programming are verbs and adjectives which are named to help you understand what they do. Just curious. regards, Paul Watson Bluegrass Cape Town, South Africa Simon Walton wrote: "You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."

        R 1 Reply Last reply
        0
        • P Paul Watson

          Ryan Johnston wrote: Was it an English program? It looked like the only english was the dirty VB. I wonder how much more difficult it is to learn to programme if English is not your first language? Most entities in programming are verbs and adjectives which are named to help you understand what they do. Just curious. regards, Paul Watson Bluegrass Cape Town, South Africa Simon Walton wrote: "You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."

          R Offline
          R Offline
          Ryan Johnston 0
          wrote on last edited by
          #9

          No kidding, it seems like VB's heavyier use of English makes it even harder than a language like C++. Ryan Johnston

          1 Reply Last reply
          0
          • M Mauricio Ritter

            Carlos Antollini wrote: fecha = fecha Carlos Antollini wrote: nombre = nombre I´m impressed... :omg::wtf::omg::wtf::omg::wtf::omg: Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter

            C Offline
            C Offline
            Carlos Antollini
            wrote on last edited by
            #10

            Also me, but I think that is because that developer need to reaffirm the value of the variable.... :-D:-D:-D Carlos Antollini. Sonork ID 100.10529 cantollini

            1 Reply Last reply
            0
            • C Carlos Antollini

              I was reading a code in VBScript written by other developer and I can't believe that....

              if fecha <> "" then
              fecha = fecha
              else
              fecha = rs("fecha_opera")
              end if

              if nombre <> "" then
              nombre = nombre
              else
              nombre = rs("nombre_usuario")
              end if
              .
              .
              .
              'And continues

              Cheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini

              N Offline
              N Offline
              Navin
              wrote on last edited by
              #11

              Oh man, I think I'm going to throw up... There are three types of people in this world: those who can count, and those who can't.

              1 Reply Last reply
              0
              • C Carlos Antollini

                I was reading a code in VBScript written by other developer and I can't believe that....

                if fecha <> "" then
                fecha = fecha
                else
                fecha = rs("fecha_opera")
                end if

                if nombre <> "" then
                nombre = nombre
                else
                nombre = rs("nombre_usuario")
                end if
                .
                .
                .
                'And continues

                Cheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini

                P Offline
                P Offline
                peterchen
                wrote on last edited by
                #12

                "Dear Antonito", mamacita said weeping, "when you leave our beautiful San Paolitinito, take care of all the robbers and bad americans everywhere. They steal and rob you blind! Your uncle Jesus from San Paolitano said they can even steal your name and birth date!" (of course, she said it in spanish..) And so, Antonio got into the routine of frequently checking if name & date are still there... But I think the self-asignment is just some internal "VB is type free" mess, like converting the type-free String object fecha into a type free string-as-in-zero-terminated-sequence-of-characters fecha. Or a type free double indirectly referenced object with a default (type free saiztsoc) String property into a type-free you already stopped reading about this String thing, didn't you? Disclaimer: To avoid offendance, software developers of spanish or hispanic origin coming from a small villages where mommy still cries when they leave for big town never to come back, or people overly sympathetic with sdoshocfsvwmscwtlfbtntcb are obligatory exempt from reading this post.


                You don't need to sleep to see a nightmare  Anne Clark   [sighist]

                C 1 Reply Last reply
                0
                • P peterchen

                  "Dear Antonito", mamacita said weeping, "when you leave our beautiful San Paolitinito, take care of all the robbers and bad americans everywhere. They steal and rob you blind! Your uncle Jesus from San Paolitano said they can even steal your name and birth date!" (of course, she said it in spanish..) And so, Antonio got into the routine of frequently checking if name & date are still there... But I think the self-asignment is just some internal "VB is type free" mess, like converting the type-free String object fecha into a type free string-as-in-zero-terminated-sequence-of-characters fecha. Or a type free double indirectly referenced object with a default (type free saiztsoc) String property into a type-free you already stopped reading about this String thing, didn't you? Disclaimer: To avoid offendance, software developers of spanish or hispanic origin coming from a small villages where mommy still cries when they leave for big town never to come back, or people overly sympathetic with sdoshocfsvwmscwtlfbtntcb are obligatory exempt from reading this post.


                  You don't need to sleep to see a nightmare  Anne Clark   [sighist]

                  C Offline
                  C Offline
                  Carlos Antollini
                  wrote on last edited by
                  #13

                  peterchen wrote: And so, Antonio got into the routine of frequently checking if name & date are still there... CLAP CLAP CLAP!!! LOL:-D:-D:-D Carlos Antollini. Sonork ID 100.10529 cantollini

                  1 Reply Last reply
                  0
                  • C Carlos Antollini

                    I was reading a code in VBScript written by other developer and I can't believe that....

                    if fecha <> "" then
                    fecha = fecha
                    else
                    fecha = rs("fecha_opera")
                    end if

                    if nombre <> "" then
                    nombre = nombre
                    else
                    nombre = rs("nombre_usuario")
                    end if
                    .
                    .
                    .
                    'And continues

                    Cheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini

                    S Offline
                    S Offline
                    Samsung
                    wrote on last edited by
                    #14

                    I thing he/she, for sure, missed part of code: if fecha <> "" then fecha = fecha if fecha <> "" then MessageBox("It seems operator '=' works fine."); else MessageBox("Something is wrong with '=' operator, please call Microsoft or Intel."); end if else fecha = rs("fecha_opera") end if

                    D 1 Reply Last reply
                    0
                    • C Carlos Antollini

                      I was reading a code in VBScript written by other developer and I can't believe that....

                      if fecha <> "" then
                      fecha = fecha
                      else
                      fecha = rs("fecha_opera")
                      end if

                      if nombre <> "" then
                      nombre = nombre
                      else
                      nombre = rs("nombre_usuario")
                      end if
                      .
                      .
                      .
                      'And continues

                      Cheers!!!! Carlos Antollini. Sonork ID 100.10529 cantollini

                      S Offline
                      S Offline
                      Samsung
                      wrote on last edited by
                      #15

                      Look at this: if (!bHide) bHide = false; // AND test failed if we never encountered a false result else bHide = true; -------------- We have comments now! ;)

                      1 Reply Last reply
                      0
                      • S Samsung

                        I thing he/she, for sure, missed part of code: if fecha <> "" then fecha = fecha if fecha <> "" then MessageBox("It seems operator '=' works fine."); else MessageBox("Something is wrong with '=' operator, please call Microsoft or Intel."); end if else fecha = rs("fecha_opera") end if

                        D Offline
                        D Offline
                        Daniel Turini
                        wrote on last edited by
                        #16

                        THIS is what I call error handling! Concussus surgo. When struck I rise.

                        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