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. To introduce students on programming? Which language is more appropriate now?

To introduce students on programming? Which language is more appropriate now?

Scheduled Pinned Locked Moved The Lounge
c++csharphelpquestion
65 Posts 12 Posters 5 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.
  • L Lost User

    So hang on, lets work out whats going on here, you are actually crap at C yes? Pointers actually scare the shit out of you, and thats why you are so anti C?

    "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #43

    You are an ignorant fool. I had about 7 articles published by Windows Developers Journal, all in C. I wrote a ton of code at work, in C, as well as C++, over many years, for windows and also the Palm platform ( I wrote a database platform for Palm as it did not come with one, for example, all in C ). Microsoft gave me an MVP award for my answering questions on forums when all I knew was C and C++. So, yes, I guess I suck at C, and that's why I want to stop other people from learning it, because of my insecurities. Are you actually illiterate, or are you just projecting your insecurities on to me and not reading anything I said ?

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    L 1 Reply Last reply
    0
    • C Christian Graus

      You are an ignorant fool. I had about 7 articles published by Windows Developers Journal, all in C. I wrote a ton of code at work, in C, as well as C++, over many years, for windows and also the Palm platform ( I wrote a database platform for Palm as it did not come with one, for example, all in C ). Microsoft gave me an MVP award for my answering questions on forums when all I knew was C and C++. So, yes, I guess I suck at C, and that's why I want to stop other people from learning it, because of my insecurities. Are you actually illiterate, or are you just projecting your insecurities on to me and not reading anything I said ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

      :laugh: :laugh: Just testing a hypothesis Christian.

      "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

      C 1 Reply Last reply
      0
      • L Lost User

        Christian Graus wrote:

        Naturally, some people will learn 'how to write applications' and never learn how to 'make them fly'

        I said computers fly, not applications. Clearly with out a good understanding of C you will never work in the kernel, and thats where the machine is, thats where the peripherals are. Thats where its engineered. Processes are just small VMs, you cant do much in the way of making a computer fly from a VM.

        "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #45

        *sigh* I am trying to work out if you're just saying garbage to toy with me, or if you really think that, for example, children being taught to read should start with Tolstoy, because Dr Seuss is obviously not real literature and should be ignored.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        L 1 Reply Last reply
        0
        • C Christian Graus

          *sigh* I am trying to work out if you're just saying garbage to toy with me, or if you really think that, for example, children being taught to read should start with Tolstoy, because Dr Seuss is obviously not real literature and should be ignored.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

          I was ever a fan of the deep end way of learning, because as adults, we arent children.

          "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

          C 1 Reply Last reply
          0
          • L Lost User

            I was ever a fan of the deep end way of learning, because as adults, we arent children.

            "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #47

            Actually, children have more malleable brains and learn more easily than adults. However, one assumes that he's talking about teaching children and not adults. At the core, you're saying that people should start with the most complicated task, and then work backwards. I say they should develop a framework of understanding and go deeper with time.

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            L 1 Reply Last reply
            0
            • C Christian Graus

              Actually, children have more malleable brains and learn more easily than adults. However, one assumes that he's talking about teaching children and not adults. At the core, you're saying that people should start with the most complicated task, and then work backwards. I say they should develop a framework of understanding and go deeper with time.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

              Well, he is tlaking about 15 to 16 year olds, certainly old enough to take it on the chin. Heck, we did at that age. All kinds of complex stuff, advanced maths, organic chemistry, if someone had thrown in stacks and assembler it wouldnt have been any harder.

              "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

              C 1 Reply Last reply
              0
              • L Lost User

                Well, he is tlaking about 15 to 16 year olds, certainly old enough to take it on the chin. Heck, we did at that age. All kinds of complex stuff, advanced maths, organic chemistry, if someone had thrown in stacks and assembler it wouldnt have been any harder.

                "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #49

                Perhaps, but I don't think they approach any other subject by seeking to make it as complicated early on as possible, to make it as hard to learn as possible.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                L 1 Reply Last reply
                0
                • C Christian Graus

                  Perhaps, but I don't think they approach any other subject by seeking to make it as complicated early on as possible, to make it as hard to learn as possible.

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

                  Well, you see (and I did learn about computers form the inside out, bottom up, not at 16, because we didnt have them then, but at 18) actually when learnt at a fundamental level like this it is actually easier to understand the machine then via a high level language like C# (if thats what you were proposing). The first language I learnt was actually BASIC, on a Spectrum. But then I just got hold of one and taught myself. And, depending on what you are programming different languages have different uses. So if I was throwing together a database app talking to a Jet engine I would probably use VB or some such. (Never got involved with the Microsoft javaesque languages and VM so I cant really comment on .Net suitability). Of course if you are anywhere near HW then C and assembler are crucial. And a lot of coding is. Not just in kernels but FW for a lot of devices, plus handhelds.

                  "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                  C 1 Reply Last reply
                  0
                  • L Lost User

                    :laugh: :laugh: Just testing a hypothesis Christian.

                    "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #51

                    To put all this another way. If we each had a class, same age, same background. You taught assembler, I taught C#. In 6 months, our classes enter a programming contest. Each student needs to write the Windows calculator. As well as the functionality found in the windows calculator ( including scientific mode, hex, octal, etc ), the students would be free to add other features as they saw fit. They would be marked on functionality, appearance and robustness. All the things that matter in the real world. Which class do you think would win ?

                    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                    L 2 Replies Last reply
                    0
                    • C Christian Graus

                      To put all this another way. If we each had a class, same age, same background. You taught assembler, I taught C#. In 6 months, our classes enter a programming contest. Each student needs to write the Windows calculator. As well as the functionality found in the windows calculator ( including scientific mode, hex, octal, etc ), the students would be free to add other features as they saw fit. They would be marked on functionality, appearance and robustness. All the things that matter in the real world. Which class do you think would win ?

                      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

                      If you choose the examination to suit your chosen language then there is no competition Christian. And if you try to implement something on an Arm processor?

                      "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                      C 1 Reply Last reply
                      0
                      • L Lost User

                        Well, you see (and I did learn about computers form the inside out, bottom up, not at 16, because we didnt have them then, but at 18) actually when learnt at a fundamental level like this it is actually easier to understand the machine then via a high level language like C# (if thats what you were proposing). The first language I learnt was actually BASIC, on a Spectrum. But then I just got hold of one and taught myself. And, depending on what you are programming different languages have different uses. So if I was throwing together a database app talking to a Jet engine I would probably use VB or some such. (Never got involved with the Microsoft javaesque languages and VM so I cant really comment on .Net suitability). Of course if you are anywhere near HW then C and assembler are crucial. And a lot of coding is. Not just in kernels but FW for a lot of devices, plus handhelds.

                        "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                        C Offline
                        C Offline
                        Christian Graus
                        wrote on last edited by
                        #53

                        fat_boy wrote:

                        Of course if you are anywhere near HW then C and assembler are crucial. And a lot of coding is. Not just in kernels but FW for a lot of devices, plus handhelds.

                        Sure, there's a tiny number of applications still where C and assembler are needed. And for someone who is going to have to take those jobs, it's perhaps arguable that knowing high level languages is of no value. But, why would you assume that a class for beginning programmers should aim for 2% of the possible jobs, and close to zero possibility of the path a hobbyist would take ?

                        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                        L 1 Reply Last reply
                        0
                        • L Lost User

                          If you choose the examination to suit your chosen language then there is no competition Christian. And if you try to implement something on an Arm processor?

                          "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                          C Offline
                          C Offline
                          Christian Graus
                          wrote on last edited by
                          #54

                          fat_boy wrote:

                          If you choose the examination to suit your chosen language then there is no competition Christian.

                          I chose something that is applicable to the real world, and the sort of task that would demonstrate an ability to program, at a level that would count as some sort of accomplishment. What would your class be able to do, in six months ? A console calculator that does addition and subtraction perhaps ? I'd be able to double back and teach some C++ ( and even C if you like ) to teach them about memory management before your class could write a remotely useful program.

                          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                          L 1 Reply Last reply
                          0
                          • C Christian Graus

                            Starting from C has been stupid for at least 10 years. Starting from C++ has been stupid for at least 4.

                            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                            M Offline
                            M Offline
                            Mladen Jankovic
                            wrote on last edited by
                            #55

                            I can't be bothered to write lengthy post so I'll just post this link[^] and say that I agree with it completely.

                            [Genetic Algorithm Library]

                            1 Reply Last reply
                            0
                            • C Christian Graus

                              fat_boy wrote:

                              Of course if you are anywhere near HW then C and assembler are crucial. And a lot of coding is. Not just in kernels but FW for a lot of devices, plus handhelds.

                              Sure, there's a tiny number of applications still where C and assembler are needed. And for someone who is going to have to take those jobs, it's perhaps arguable that knowing high level languages is of no value. But, why would you assume that a class for beginning programmers should aim for 2% of the possible jobs, and close to zero possibility of the path a hobbyist would take ?

                              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

                              Its not so tiny as you think. Look at the number of PDAs around.

                              "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                              1 Reply Last reply
                              0
                              • C Christian Graus

                                fat_boy wrote:

                                If you choose the examination to suit your chosen language then there is no competition Christian.

                                I chose something that is applicable to the real world, and the sort of task that would demonstrate an ability to program, at a level that would count as some sort of accomplishment. What would your class be able to do, in six months ? A console calculator that does addition and subtraction perhaps ? I'd be able to double back and teach some C++ ( and even C if you like ) to teach them about memory management before your class could write a remotely useful program.

                                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

                                Mind you you could do a calculator in C just as quickly. Even faster in MFC.

                                "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                                1 Reply Last reply
                                0
                                • W Weiye Chen

                                  If you were to teach some school students say aged 15-16 (who have no programming experience) the basics of software programming, which language would you begin with? I was taught C->C++->Win32->MFC but i am wondering nowadays if there is still a need to start from C. Perhaps children are now more intelligent and would not have much problem starting from C++ or C#?

                                  Weiye Chen A hermit trying to learn hibernation...

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

                                  I'd pick C#, because you have a comfortable free dev env, it's state of the art, it's used in the industry, and you can explore different paradigms.

                                  FILETIME to time_t
                                  | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

                                  1 Reply Last reply
                                  0
                                  • W Weiye Chen

                                    If you were to teach some school students say aged 15-16 (who have no programming experience) the basics of software programming, which language would you begin with? I was taught C->C++->Win32->MFC but i am wondering nowadays if there is still a need to start from C. Perhaps children are now more intelligent and would not have much problem starting from C++ or C#?

                                    Weiye Chen A hermit trying to learn hibernation...

                                    realJSOPR Offline
                                    realJSOPR Offline
                                    realJSOP
                                    wrote on last edited by
                                    #59

                                    My first programming class was IBM 360/370 Assembly Language.

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                                    M 1 Reply Last reply
                                    0
                                    • L Lost User

                                      Of course this is where the men and the boys get seperated: Those who really know how computers work and can make them fly, and those who can only write applications to process some data.

                                      "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

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

                                      Sorry to but in - hope this isn't the full 1/2 hour argument...

                                      fat_boy wrote:

                                      Those who really know how computers work and can make them fly, and those who can only write applications to process some data.

                                      You seem to be implying (and I haven't read every word of this whole thread so I may have missed something) that there is just one, supreme, type of software developer. I've worked with many very clever technical people, who could (and did!) knock out a device driver in their lunch hour to support some new peripheral for a business application. sit them down to write a WPF business application and they'd struggle. And I've worked with some really smart business solution programmers who do have an understanding of the nuts and bolts, but really wouldn't know where to start when it came to a device driver, for example. it's a big field, with room for a lot of disparate skills.

                                      ___________________________________________ .\\axxx (That's an 'M')

                                      L 1 Reply Last reply
                                      0
                                      • L Lost User

                                        Sorry to but in - hope this isn't the full 1/2 hour argument...

                                        fat_boy wrote:

                                        Those who really know how computers work and can make them fly, and those who can only write applications to process some data.

                                        You seem to be implying (and I haven't read every word of this whole thread so I may have missed something) that there is just one, supreme, type of software developer. I've worked with many very clever technical people, who could (and did!) knock out a device driver in their lunch hour to support some new peripheral for a business application. sit them down to write a WPF business application and they'd struggle. And I've worked with some really smart business solution programmers who do have an understanding of the nuts and bolts, but really wouldn't know where to start when it came to a device driver, for example. it's a big field, with room for a lot of disparate skills.

                                        ___________________________________________ .\\axxx (That's an 'M')

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

                                        Of course many skills are needed, but, and I am very sure, that a solid grounding in the basics makes a better engineer.

                                        "It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation." Bob Carter, Research Professor of Geology, James Cook University, Townsville

                                        1 Reply Last reply
                                        0
                                        • realJSOPR realJSOP

                                          My first programming class was IBM 360/370 Assembly Language.

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                                          M Offline
                                          M Offline
                                          Maximilien
                                          wrote on last edited by
                                          #62

                                          Were there any other choices ?

                                          Watched code never compiles.

                                          realJSOPR 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