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. What language should I use?

What language should I use?

Scheduled Pinned Locked Moved The Lounge
c++javajavascriptpythonhtml
44 Posts 19 Posters 6 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.
  • Sander RosselS Sander Rossel

    Actually, everything in VB should start with Dim. Never understood what it means... Dim-witted maybe? :laugh:

    It's an OO world.

    L Offline
    L Offline
    Lutoslaw
    wrote on last edited by
    #22

    It's a historical thing. In BASIC only arrays could be explicitely declared, with a specified Dimension. Now every kind of variable can be declared but the Dim keyword remained.

    Greetings - Jacek

    Sander RosselS 1 Reply Last reply
    0
    • Sander RosselS Sander Rossel

      Actually, everything in VB should start with Dim. Never understood what it means... Dim-witted maybe? :laugh:

      It's an OO world.

      G Offline
      G Offline
      Gregory Gadow
      wrote on last edited by
      #23

      Naerling wrote:

      Actually, everything in VB should start with Dim.
      Never understood what it means...

      It's from the misty days of "Once upon a time" when all variables were arrays. The original keyword was dimension, which later flavors shortened to dim (the old comment indicator, rem, is similarly derived from the keywork remark.) A statement such as

      DIM v

      was just an abbreviated version of

      DIMENSION v(0)

      Crimeny, what are they teaching you young whippersnappers in school these days? :rolleyes:

      Sander RosselS L 2 Replies Last reply
      0
      • G Gregory Gadow

        Naerling wrote:

        Actually, everything in VB should start with Dim.
        Never understood what it means...

        It's from the misty days of "Once upon a time" when all variables were arrays. The original keyword was dimension, which later flavors shortened to dim (the old comment indicator, rem, is similarly derived from the keywork remark.) A statement such as

        DIM v

        was just an abbreviated version of

        DIMENSION v(0)

        Crimeny, what are they teaching you young whippersnappers in school these days? :rolleyes:

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #24

        Gregory.Gadow wrote:

        rem, is similarly derived from the keywork remark.

        Every Class should start with:

        REM - Losing My Religion

        Gregory.Gadow wrote:

        what are they teaching you young whippersnappers in school these days?

        Don't know... I learned something about art and media, but that was to be expected from an art and media study :rolleyes: Never went to school for programming (actually, I just finished school alltogether) :laugh:

        It's an OO world.

        1 Reply Last reply
        0
        • L Lutoslaw

          It's a historical thing. In BASIC only arrays could be explicitely declared, with a specified Dimension. Now every kind of variable can be declared but the Dim keyword remained.

          Greetings - Jacek

          Sander RosselS Offline
          Sander RosselS Offline
          Sander Rossel
          wrote on last edited by
          #25

          Dimension almost makes it sound kind of cool... :^) Wikipedia quote: In computer programming, BASIC (an acronym which stands for Beginner's All-purpose Symbolic Instruction Code) is a family of high-level programming languages designed to be easy to use. Never knew that's what it stood for either! :laugh: BASIC was used before I was even born though... Well, it is probably still used somewhere, but you know what I mean. Ouch, I guess I really lack some historical background knowledge for a VB programmer. Perhaps I should start learning FORTRAN and Lisp and get some historical programmer sense too :)

          It's an OO world.

          L O 2 Replies Last reply
          0
          • L Lost User

            French, then you can write WTF as@ c'est quoi cette connerie?

            “Global warming is indeed a scam, perpetrated by scientists with vested interests, but in need of crash courses in geology, logic and the philosophy of science.” Martin Keeley, geology scientist

            G Offline
            G Offline
            GenJerDan
            wrote on last edited by
            #26

            What about Sean Connery?

            Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life. My Mu[sic] My Films My Windows Programs, etc.

            1 Reply Last reply
            0
            • C Chris Meech

              That's proof of bacon being portable. :)

              Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

              O Offline
              O Offline
              Oakman
              wrote on last edited by
              #27

              Chris Meech wrote:

              That's proof of bacon being portable

              So is my belly

              The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

              1 Reply Last reply
              0
              • G Gregory Gadow

                Naerling wrote:

                Actually, everything in VB should start with Dim.
                Never understood what it means...

                It's from the misty days of "Once upon a time" when all variables were arrays. The original keyword was dimension, which later flavors shortened to dim (the old comment indicator, rem, is similarly derived from the keywork remark.) A statement such as

                DIM v

                was just an abbreviated version of

                DIMENSION v(0)

                Crimeny, what are they teaching you young whippersnappers in school these days? :rolleyes:

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #28

                I especially liked LET. Assignment statements once had to start with it:

                LET A = 1
                LET B = 2
                LET C = A + B

                Code sounded much nicer back then. :)

                Luc Pattyn [My Articles] Nil Volentibus Arduum

                The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                Please use <PRE> tags for code snippets, they improve readability.
                CP Vanity has been updated to V2.4

                G L Sander RosselS 3 Replies Last reply
                0
                • L Luc Pattyn

                  I especially liked LET. Assignment statements once had to start with it:

                  LET A = 1
                  LET B = 2
                  LET C = A + B

                  Code sounded much nicer back then. :)

                  Luc Pattyn [My Articles] Nil Volentibus Arduum

                  The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                  Please use <PRE> tags for code snippets, they improve readability.
                  CP Vanity has been updated to V2.4

                  G Offline
                  G Offline
                  Gregory Gadow
                  wrote on last edited by
                  #29

                  Luc Pattyn wrote:

                  Code sounded much nicer back then.

                  Ah, yes. I recall those halcyon days when programming involved requests rather than commands. :-D

                  1 Reply Last reply
                  0
                  • L Lutoslaw

                    If you knew BeFunge then you wouldn't say that. There is no BACON which would beat it.

                    Greetings - Jacek

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

                    I dare you to fight between the two languages. BACON would win without doing anything.

                    L 1 Reply Last reply
                    0
                    • L Luc Pattyn

                      I especially liked LET. Assignment statements once had to start with it:

                      LET A = 1
                      LET B = 2
                      LET C = A + B

                      Code sounded much nicer back then. :)

                      Luc Pattyn [My Articles] Nil Volentibus Arduum

                      The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                      Please use <PRE> tags for code snippets, they improve readability.
                      CP Vanity has been updated to V2.4

                      L Offline
                      L Offline
                      Lutoslaw
                      wrote on last edited by
                      #31

                      LET was supported in VB 6.0, wasn't it[^]? In VB .NET it is still a keyword but isn't used anymore :doh: .

                      Greetings - Jacek

                      O F 2 Replies Last reply
                      0
                      • Sander RosselS Sander Rossel

                        Dimension almost makes it sound kind of cool... :^) Wikipedia quote: In computer programming, BASIC (an acronym which stands for Beginner's All-purpose Symbolic Instruction Code) is a family of high-level programming languages designed to be easy to use. Never knew that's what it stood for either! :laugh: BASIC was used before I was even born though... Well, it is probably still used somewhere, but you know what I mean. Ouch, I guess I really lack some historical background knowledge for a VB programmer. Perhaps I should start learning FORTRAN and Lisp and get some historical programmer sense too :)

                        It's an OO world.

                        L Offline
                        L Offline
                        Lutoslaw
                        wrote on last edited by
                        #32

                        Naerling wrote:

                        Well, it is probably still used somewhere

                        Some programmable calculators may support BASIC, but [citation needed].

                        Greetings - Jacek

                        1 Reply Last reply
                        0
                        • L Lost User

                          I dare you to fight between the two languages. BACON would win without doing anything.

                          L Offline
                          L Offline
                          Lutoslaw
                          wrote on last edited by
                          #33

                          The following BeFunge code generates the first 100 digits of PI:

                          aa* v +------------------------+
                          vp*9920p*9930< | Pi generator in Bef-97 |

                          :09a*pa*3/1+19a*p09a*g:09b*v | |
                          v_@# g*b90 p*b910 < p< | 7/2/1997, Kevin Vigor |
                          19a*g:+1-29b*p19a*g::09v +------------------------+
                          v*a90g*b90*g*b91: _v#p*9<
                          g-#v_ 2a*+\$ v :$
                          \1-aa*ga*+v p
                          v1:/g*b92p*991:< *
                          9b*p29b*g*199*g\v9
                          v*b92p*aa-1g*990-<9
                          g2-29b*p099*g1-:0^
                          v -9p*b92:%ag*991 <
                          #v_ 299*g1+299*p> ^
                          09b*g:#v_$v
                          v93p*b90-1<
                          9*g199*ga/+.v
                          v:g*992 <p*9 92-<
                          v_29b*g399*p ^
                          09b*g:#v_v 1
                          vp*b90-1 < $ g
                          199*g9`#v_'9,v *
                          '0, >' ,299^

                          Huh?!

                          Greetings - Jacek

                          L 1 Reply Last reply
                          0
                          • S Slacker007

                            Reminds me of the Camel cigarette commercials. "I'd walk a mile for a strip of crispy bacon."

                            -- ** Jack of all trades and master of none.

                            H Offline
                            H Offline
                            Henry Minute
                            wrote on last edited by
                            #34

                            I've never tried Camel BACON. What's it like? (Apart from crispy, that is.)

                            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                            1 Reply Last reply
                            0
                            • Sander RosselS Sander Rossel

                              Dimension almost makes it sound kind of cool... :^) Wikipedia quote: In computer programming, BASIC (an acronym which stands for Beginner's All-purpose Symbolic Instruction Code) is a family of high-level programming languages designed to be easy to use. Never knew that's what it stood for either! :laugh: BASIC was used before I was even born though... Well, it is probably still used somewhere, but you know what I mean. Ouch, I guess I really lack some historical background knowledge for a VB programmer. Perhaps I should start learning FORTRAN and Lisp and get some historical programmer sense too :)

                              It's an OO world.

                              O Offline
                              O Offline
                              Oakman
                              wrote on last edited by
                              #35

                              Naerling wrote:

                              Well, it is probably still used somewhere, but you know what I mean.

                              http://www.truebasic.com/[^]

                              The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                              1 Reply Last reply
                              0
                              • L Lutoslaw

                                LET was supported in VB 6.0, wasn't it[^]? In VB .NET it is still a keyword but isn't used anymore :doh: .

                                Greetings - Jacek

                                O Offline
                                O Offline
                                Oakman
                                wrote on last edited by
                                #36

                                Jacek Gajek wrote:

                                LET was supported in VB 6.0, wasn't it

                                BASIC was designed to mimic assembler. Therefore, every command started with an Op-code. LET, SET and LSET were all used to declare a variable's value.

                                The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                L 1 Reply Last reply
                                0
                                • O Oakman

                                  Jacek Gajek wrote:

                                  LET was supported in VB 6.0, wasn't it

                                  BASIC was designed to mimic assembler. Therefore, every command started with an Op-code. LET, SET and LSET were all used to declare a variable's value.

                                  The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                  L Offline
                                  L Offline
                                  Lutoslaw
                                  wrote on last edited by
                                  #37

                                  But neither VB 6.0 nor VB .NET weren't designed to mimic assembler. (I think so) Anyway, MSDN says (VB6):

                                  MSDN wrote:

                                  [Let Statement Let --- Optional. Explicit use of the Let keyword is a matter of style, but it is usually omitted.

                                  Greetings - Jacek

                                  G 1 Reply Last reply
                                  0
                                  • L Luc Pattyn

                                    I especially liked LET. Assignment statements once had to start with it:

                                    LET A = 1
                                    LET B = 2
                                    LET C = A + B

                                    Code sounded much nicer back then. :)

                                    Luc Pattyn [My Articles] Nil Volentibus Arduum

                                    The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                                    Please use <PRE> tags for code snippets, they improve readability.
                                    CP Vanity has been updated to V2.4

                                    Sander RosselS Offline
                                    Sander RosselS Offline
                                    Sander Rossel
                                    wrote on last edited by
                                    #38

                                    If you like the let keyword you should check out F#. Everything is declared let there. As a bonus(?) it is even less verbose than C# :D

                                    It's an OO world.

                                    1 Reply Last reply
                                    0
                                    • G Gregory Gadow

                                      I'm rather fond of LolCode

                                      HAI
                                      CAN HAS STDIO?

                                      I HAS A MOOD

                                      IF (MICROSOFT AN WINDOWSMETRO) IZ HTML5_JS_ONLY
                                      HAI
                                      MOOD ITZ 'WTF'
                                      BYE

                                      KTHXBYE

                                      A Offline
                                      A Offline
                                      Alexander DiMauro
                                      wrote on last edited by
                                      #39

                                      LolCode really made me Lol! :laugh: So, basically, we would sit at our desks laughing all day. I like it! :thumbsup:

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        If Microsoft & WindowsMetro = HTML5_JS_ONLY Then Mood = WTF. End If. I do NOT WANT HTML5 and JS! Also, I'm considering cross-platform. So... Java? C++? Python? Bacon?

                                        A Offline
                                        A Offline
                                        adf999
                                        wrote on last edited by
                                        #40

                                        Very hard to beat Brainfuck. :-D http://en.wikipedia.org/wiki/Brainfuck[^]

                                        L 1 Reply Last reply
                                        0
                                        • L Lutoslaw

                                          But neither VB 6.0 nor VB .NET weren't designed to mimic assembler. (I think so) Anyway, MSDN says (VB6):

                                          MSDN wrote:

                                          [Let Statement Let --- Optional. Explicit use of the Let keyword is a matter of style, but it is usually omitted.

                                          Greetings - Jacek

                                          G Offline
                                          G Offline
                                          Gregory Gadow
                                          wrote on last edited by
                                          #41

                                          BASIC has been around since 1964. In those days, language interpreters were pretty rigid: computers simply did not have the processing power or memory to be very flexible. It was not until much later that LET became optional; it was retained for backwards compatibility and because some programmers liked to use it to help document an assignment rather than a comparison.

                                          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