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. New Generation does not realy understand computers

New Generation does not realy understand computers

Scheduled Pinned Locked Moved The Lounge
c++data-structurestutorialloungelearning
43 Posts 29 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.
  • B Bram van Kampen

    We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

    Bram van Kampen

    S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #5

    I can't write an MFC application :sigh: I tried many years ago, and maybe I was spoiled by NeXT / ObjectiveC at the time (and then later Java) but I found it way too difficult! :(( Maybe I should try again, the maturity will help perhaps?!

    A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

    B J A 3 Replies Last reply
    0
    • B Bram van Kampen

      We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

      Bram van Kampen

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #6

      Do you mean they did not know how to write a lexer and parser?

      J Z 2 Replies Last reply
      0
      • B Bram van Kampen

        We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

        Bram van Kampen

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #7

        Bram van Kampen wrote:

        None of our fifteen contestants knew how to scan an input file, never mind how to parse one.

        Is it fair to say none of these 15 have a CS degree from a decent CS program?  Even the most basic course in compiler construction would require the student to create a parse tree for a formal language. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        R 1 Reply Last reply
        0
        • B Bram van Kampen

          We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

          Bram van Kampen

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #8

          I have no idea, but I'm happy to report that, having spent two evenings on the project, I'm now parsing like a demon all the quirky input .csv files I have to import to my latest project. :-D

          Will Rogers never met me.

          J 1 Reply Last reply
          0
          • B Bram van Kampen

            We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

            Bram van Kampen

            A Offline
            A Offline
            Abu Mami
            wrote on last edited by
            #9

            Uh - hexadecimal arithmetic anyone?

            J 1 Reply Last reply
            0
            • B Bram van Kampen

              We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

              Bram van Kampen

              W Offline
              W Offline
              wout de zeeuw
              wrote on last edited by
              #10

              To some extent it's understandable, what's the chance you have to write an RPN Stack in a real world project? I've even never seen one in my 15 year career. With the number of technologies expanding every day you have to be selective about what you're learning. In today's world I'd stick with knowing how to design a class model (know about is/has relationships), database connectivity, serializing data, building web/non-web interfaces and web services.

              Wout

              P J 2 Replies Last reply
              0
              • B Bram van Kampen

                We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

                Bram van Kampen

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #11

                Bram van Kampen wrote:

                Why are the basics No longer taught!

                Because MFC, .NET, Silverlight, Wxx, etc., are all supposed to do the thinking for you? ;) Marc

                A J 2 Replies Last reply
                0
                • W wout de zeeuw

                  To some extent it's understandable, what's the chance you have to write an RPN Stack in a real world project? I've even never seen one in my 15 year career. With the number of technologies expanding every day you have to be selective about what you're learning. In today's world I'd stick with knowing how to design a class model (know about is/has relationships), database connectivity, serializing data, building web/non-web interfaces and web services.

                  Wout

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

                  None of our fifteen contestants knew how to scan an input file, never mind how to parse one. Of course you can facade a stream filter over a file system stream backend, bridge it to a an adapter that composites facades to regexp web services created by a factory so we can easily choose between the best regexp SAS providers. The factory should be a singleton, because it's an important pattern I couldn't work in. I have no idea how to actually write a regexp that can tell a for from a fork, but that should be easy, there are books for that.

                  Agh! Reality! My Archnemesis![^]
                  | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

                  W 1 Reply Last reply
                  0
                  • P peterchen

                    None of our fifteen contestants knew how to scan an input file, never mind how to parse one. Of course you can facade a stream filter over a file system stream backend, bridge it to a an adapter that composites facades to regexp web services created by a factory so we can easily choose between the best regexp SAS providers. The factory should be a singleton, because it's an important pattern I couldn't work in. I have no idea how to actually write a regexp that can tell a for from a fork, but that should be easy, there are books for that.

                    Agh! Reality! My Archnemesis![^]
                    | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

                    W Offline
                    W Offline
                    wout de zeeuw
                    wrote on last edited by
                    #13

                    Serializing data is very common in business applications (data persistence/communication), so nowadays I would expect someone to be able to write simple serializers/deserializers (parsers). But writing your own stack implementation to me falls in the uncommon category.

                    Wout

                    1 Reply Last reply
                    0
                    • M Marc Clifton

                      Bram van Kampen wrote:

                      Why are the basics No longer taught!

                      Because MFC, .NET, Silverlight, Wxx, etc., are all supposed to do the thinking for you? ;) Marc

                      A Offline
                      A Offline
                      AspDotNetDev
                      wrote on last edited by
                      #14

                      Marc Clifton wrote:

                      Because MFC, .NET, Silverlight, Wxx, etc., are all supposed to do the thinking for you?

                      Those who think think to let others do the thinking for them. :rolleyes: Seriously, though, given that it's impossible to learn everything (our brains are surprisingly tiny), it seems wise to focus only on what will get the job done. Leaders delegate thinking to specialists and good programmers delegate low-level work to frameworks.

                      [Forum Guidelines]

                      H 1 Reply Last reply
                      0
                      • B Bram van Kampen

                        We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

                        Bram van Kampen

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

                        Bram van Kampen wrote:

                        Why are the basics No longer taught!

                        I don't know! I'm studying CS right now, and the basics are indeed skipped over. However, I'd like you to know that this does not automatically mean that every student is lame like that. I've written parsers by hand before, and I've written non-trivial programs in z80 assembly (but not a parser, I did that in C#) - because I'm interested in that kind of thing. OTOH I have no certifications and I've never worked with MFC :) edit: and I can, of course, do binary and hexadecimal math without getting a calculator. Even xor, which seems hard to many people (even though it's just addition without carry, and therefore easier than addition)

                        1 Reply Last reply
                        0
                        • B Bram van Kampen

                          We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

                          Bram van Kampen

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

                          Bram van Kampen wrote:

                          Why are the basics No longer taught!

                          "Autonomous learning", using O'Reilly books :)

                          I are Troll :suss:

                          1 Reply Last reply
                          0
                          • B Bram van Kampen

                            We had occasion of late to write a small interpreter, complete with expression evaluation, i.e. a RPN Stack. These things are mostly already hidden inside the nuts and bolts of compilers and interpretors. Meet a Custom Stack, and, No, You have to write your own! We advertised a position for an MFC/CPP Program writer, with learning experience of MFC and the general Windows Interface. None of our fifteen contestants knew how to scan an input file, never mind how to parse one. All passed with glowing terms in the various MS Certification schemes. Why are the basics No longer taught! Regards

                            Bram van Kampen

                            L Offline
                            L Offline
                            leonej_dt
                            wrote on last edited by
                            #17

                            I have the very inverse problem. I seldom have trouble learning new programming languages and understanding programming constructs, but learning frameworks takes me forever. --- Btw, my standard for "having actually learnt a programming language" means... 1. Understanding all language constructs, especially those that allow you to deal with code/references to code as data: function pointers, function parameters, delegates, metaclasses (à la Delphi's TClass), lambdas, closures, etc. 2. Implementing efficiently a mini-framework abstracting the following data types: vector, simple linked list, double linked list, stack, queue, binary search tree, AVL tree, red-black tree, generic B-tree, hash table, dense matrix, dense graph, sparse graph, sparse matrix, in that order. (Of course, if the language provides built-in versions of some of these data types, I will just use them and not bother implementing them myself.) And only then do I bother learning frameworks. And still does learning frameworks take me longer.

                            Eduardo León

                            J 1 Reply Last reply
                            0
                            • S Super Lloyd

                              I can't write an MFC application :sigh: I tried many years ago, and maybe I was spoiled by NeXT / ObjectiveC at the time (and then later Java) but I found it way too difficult! :(( Maybe I should try again, the maturity will help perhaps?!

                              A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                              B Offline
                              B Offline
                              B V Papadopoulos
                              wrote on last edited by
                              #18

                              A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... :) :) :) :)

                              Code4Fun&&$$$

                              1 Reply Last reply
                              0
                              • S Super Lloyd

                                I can't write an MFC application :sigh: I tried many years ago, and maybe I was spoiled by NeXT / ObjectiveC at the time (and then later Java) but I found it way too difficult! :(( Maybe I should try again, the maturity will help perhaps?!

                                A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                                J Offline
                                J Offline
                                JasonPSage
                                wrote on last edited by
                                #19

                                I don't know about this particular endeavor; but for me; I've hit topics that blew my brain into pieces; then came back and revisited them and be able to grasp it fully.

                                Know way too many languages... master of none!

                                1 Reply Last reply
                                0
                                • Richard Andrew x64R Richard Andrew x64

                                  Do you mean they did not know how to write a lexer and parser?

                                  J Offline
                                  J Offline
                                  JasonPSage
                                  wrote on last edited by
                                  #20

                                  I've tried... and succeeded on a smaller scale.. like programs that interpret home brew script to make a set up application source code I could compile. Does that count?

                                  Know way too many languages... master of none!

                                  1 Reply Last reply
                                  0
                                  • R Roger Wright

                                    I have no idea, but I'm happy to report that, having spent two evenings on the project, I'm now parsing like a demon all the quirky input .csv files I have to import to my latest project. :-D

                                    Will Rogers never met me.

                                    J Offline
                                    J Offline
                                    JasonPSage
                                    wrote on last edited by
                                    #21

                                    Cool. Now save that code; and add it to your toolbox for the next go around. Knowing HOW is actually more important than doing it daily. At least that way regardless of the system you happen to be forced to work with - you understand the problem and know the basics of how to solve it. This is along the lines of software pattern recognition. Helps to know as many "patterns" as possible.

                                    Know way too many languages... master of none!

                                    S 1 Reply Last reply
                                    0
                                    • A Abu Mami

                                      Uh - hexadecimal arithmetic anyone?

                                      J Offline
                                      J Offline
                                      JasonPSage
                                      wrote on last edited by
                                      #22

                                      I just convert to binary or decimal... before performing the math... though I could probably work through carrying a 1 on a base 16 $f + 1 = $10 :)

                                      Know way too many languages... master of none!

                                      1 Reply Last reply
                                      0
                                      • W wout de zeeuw

                                        To some extent it's understandable, what's the chance you have to write an RPN Stack in a real world project? I've even never seen one in my 15 year career. With the number of technologies expanding every day you have to be selective about what you're learning. In today's world I'd stick with knowing how to design a class model (know about is/has relationships), database connectivity, serializing data, building web/non-web interfaces and web services.

                                        Wout

                                        J Offline
                                        J Offline
                                        JasonPSage
                                        wrote on last edited by
                                        #23

                                        Here Here - good points!

                                        Know way too many languages... master of none!

                                        1 Reply Last reply
                                        0
                                        • M Marc Clifton

                                          Bram van Kampen wrote:

                                          Why are the basics No longer taught!

                                          Because MFC, .NET, Silverlight, Wxx, etc., are all supposed to do the thinking for you? ;) Marc

                                          J Offline
                                          J Offline
                                          JasonPSage
                                          wrote on last edited by
                                          #24

                                          MFC, .Net, Silverlight are very targeted programming systems; all from one vendor. I find by developing with more than one vendor's technology and more than one OS my exposure to things and understanding increases greatly. Things learned in one often help when using another. Example: I've done a ton of low level IP communication; but not in .Net.. I pick up .Net to do similiar task and I knew what to hunt for, the pieces I'd need.. and within an hour.. code was working fine... with a modification to the .Net config file so that .Net wasn't expecting Microsoft "style" protocall packets... but yeah.. got it working. --Jason

                                          Know way too many languages... master of none!

                                          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