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. Interview questions - best way to learn the answers

Interview questions - best way to learn the answers

Scheduled Pinned Locked Moved The Lounge
questionoopdiscussioncareer
128 Posts 44 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.
  • D DeepToot

    I consider myself a good developer, fellow developers and managers as well as clients have told me the same. I code to standards and make sure it is done correctly. So why is it that in an interview when asked a question about code I get stumped and not able to answer it correctly? Am I the only one that does this? Can you BE a great developer without being able to tell you the definition of polymorphism or the like? I know I can do the work, very well. So what can I do to learn the definitions of things? I am thinking of making cue cards and going from there. They have helped me in the past. What do you think? What is the best way for you to learn? Also, do you know definitions and meanings of everything you do? Thanks

    D Offline
    D Offline
    David Crow
    wrote on last edited by
    #8

    Swelborn wrote:

    So why is it that in an interview when asked a question about code I get stumped and not able to answer it correctly? Am I the only one that does this?

    No. I'm right there with you.

    "One man's wage rise is another man's price increase." - Harold Wilson

    "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

    "Man who follows car will be exhausted." - Confucius

    1 Reply Last reply
    0
    • D DeepToot

      I consider myself a good developer, fellow developers and managers as well as clients have told me the same. I code to standards and make sure it is done correctly. So why is it that in an interview when asked a question about code I get stumped and not able to answer it correctly? Am I the only one that does this? Can you BE a great developer without being able to tell you the definition of polymorphism or the like? I know I can do the work, very well. So what can I do to learn the definitions of things? I am thinking of making cue cards and going from there. They have helped me in the past. What do you think? What is the best way for you to learn? Also, do you know definitions and meanings of everything you do? Thanks

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

      Swelborn wrote:

      Can you BE a great developer without being able to tell you the definition of polymorphism or the like?

      Standard reply: Don't ask me questions whose answers I can look up on wikipedia. Marc

      P 1 Reply Last reply
      0
      • A AWdrius

        I bet you can be a great *solo* programmer/developer/engineer, but when working in team you need to know how certain patterns are named to make communication faster and more fluent. I was like you a couple of years ago, but then I spent some time learning a proper names for patters, structures, etc. and it is kinda worth knowing them (-. So keep up and you will eventually be there.

        Trust is a weakness.

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

        AWdrius wrote:

        but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

        In theory, yes, but I'd have to disagree because most every programmer I've ever worked with (except for that Javaites that were trying to impress everyone with their new pattern jargon 20 years ago) really themselves don't know the names of these things either. Personally, what I find much more difficult, interesting, and useful, is learning the lingo of the domain, be it Wall St. or aeronautics or *cough* the entertainment sector, boatyards, etc. Marc

        C 1 Reply Last reply
        0
        • A AWdrius

          I bet you can be a great *solo* programmer/developer/engineer, but when working in team you need to know how certain patterns are named to make communication faster and more fluent. I was like you a couple of years ago, but then I spent some time learning a proper names for patters, structures, etc. and it is kinda worth knowing them (-. So keep up and you will eventually be there.

          Trust is a weakness.

          C Offline
          C Offline
          Chris Losinger
          wrote on last edited by
          #11

          AWdrius wrote:

          but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

          in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

          image processing toolkits | batch image processing

          E M B K N 12 Replies Last reply
          0
          • D DeepToot

            I consider myself a good developer, fellow developers and managers as well as clients have told me the same. I code to standards and make sure it is done correctly. So why is it that in an interview when asked a question about code I get stumped and not able to answer it correctly? Am I the only one that does this? Can you BE a great developer without being able to tell you the definition of polymorphism or the like? I know I can do the work, very well. So what can I do to learn the definitions of things? I am thinking of making cue cards and going from there. They have helped me in the past. What do you think? What is the best way for you to learn? Also, do you know definitions and meanings of everything you do? Thanks

            R Offline
            R Offline
            Richard A Dalton
            wrote on last edited by
            #12

            OK, this'll be a little long because this is a huge bug bear of mine. The only reason you can't explain something is that you don't understand it. I have never met anyone who was unable to explain something that they understood. I meet lots of people who think they understand things but can't explain them, and on pressing they discover they don't. I fall into this category myself quite often. I saw this so many times when lecturing. People could give the text book definition of something but couldn't explain it. It's the difference between knowing and understanding. I test knowledge by whether or not someone can "teach" it. So in an interview situation I would ask the person to "teach" me how something works, or why some technique can be handy. Testbook definitions are meaningless in that situation. If you find you are stumped when it comes to explaining polymorphism it's because a) you don't actually understand it and b) while compensating for not understanding it you are getting hung up on the text book definition. For the record, my significant other has exactly the same problem as you, also with Polymorphism funnily enough. Now, you can use techniques in your code without fully understanding them. The hundrends of libraries, tools, frameworks and principles etc that we have to use mean that we spend big chunks of our time using things that we only superficially know (but don't understand). I still need my cheat sheets for a significant number of technologies. And that's fine, it's fine with technologies and tools to not get them on a deep level. If I had someone sitting in front of me who had trouble remembering the exact syntax of how to mock an object using Rhino Mocks, It would be interesting, but I wouldn't care too much. If they couldn't explain in their own words why you would want to mock an object I'd be more concerned. If I had someone sitting in front of me who claimed to be good at OO but who couldn't teach me about polymorphism I'd be very concerned. The best way test whether you understand something is to find someone who doesn't understand it and try to teach them. If you feel you get stuck on Polymorphism then use it. Create a demo and show it to a work colleague. You will feel the click in your head when you move from knowledge to understanding (for me it's "duhn duhn" the sound from Law And Order, it might be different for you). Stick at it, but forget about memorising text books. -Richard

            Hit any user to continue.

            S V M D J 6 Replies Last reply
            0
            • C Chris Losinger

              AWdrius wrote:

              but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

              in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

              image processing toolkits | batch image processing

              E Offline
              E Offline
              Ennis Ray Lynch Jr
              wrote on last edited by
              #13

              Ditto

              Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

              1 Reply Last reply
              0
              • M Marc Clifton

                AWdrius wrote:

                but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

                In theory, yes, but I'd have to disagree because most every programmer I've ever worked with (except for that Javaites that were trying to impress everyone with their new pattern jargon 20 years ago) really themselves don't know the names of these things either. Personally, what I find much more difficult, interesting, and useful, is learning the lingo of the domain, be it Wall St. or aeronautics or *cough* the entertainment sector, boatyards, etc. Marc

                C Offline
                C Offline
                Chris C B
                wrote on last edited by
                #14

                Marc Clifton wrote:

                Personally, what I find much more difficult, interesting, and useful, is learning the lingo of the domain, be it Wall St. or aeronautics or *cough* the entertainment sector, boatyards, etc.

                The way I earn my living, this is essential. I don't suppose I write academic-standard code (but hey, it compiles, runs, and is stable :) ) but when I get a project, the first thing I do is really understand the client's business, to the point where I can sit in a management meeting and understand everything, jargon and all. I also interview all the users who are going to work on the system, because their understanding of the problem is often very different to management's at the fine detail level. This also gives the users some feeling of ownership in the project, and this can be hugely useful further down the road. Oops - wandered off topic there, sorry. :-O

                M A B D E 5 Replies Last reply
                0
                • C Chris Losinger

                  AWdrius wrote:

                  but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

                  in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

                  image processing toolkits | batch image processing

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

                  double ditto.

                  Watched code never compiles.

                  1 Reply Last reply
                  0
                  • D DeepToot

                    I consider myself a good developer, fellow developers and managers as well as clients have told me the same. I code to standards and make sure it is done correctly. So why is it that in an interview when asked a question about code I get stumped and not able to answer it correctly? Am I the only one that does this? Can you BE a great developer without being able to tell you the definition of polymorphism or the like? I know I can do the work, very well. So what can I do to learn the definitions of things? I am thinking of making cue cards and going from there. They have helped me in the past. What do you think? What is the best way for you to learn? Also, do you know definitions and meanings of everything you do? Thanks

                    G Offline
                    G Offline
                    Gordon Kushner
                    wrote on last edited by
                    #16

                    I have the same problem. What does seem to work in my experience interviewing is to talk through an example. Of course you need to make sure interviewer is ok with that. I think a well articulated example how and why you used polymorphism impresses them better than the textbook answer.

                    1 Reply Last reply
                    0
                    • C Chris Losinger

                      AWdrius wrote:

                      but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

                      in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

                      image processing toolkits | batch image processing

                      B Offline
                      B Offline
                      Bassam Abdul Baki
                      wrote on last edited by
                      #17

                      Chris Losinger wrote:

                      i have never had a discussion with a co-worker about a "pattern"

                      Really, you do all your pats concurrently?

                      Web - BM - RSS - Math - LinkedIn

                      1 Reply Last reply
                      0
                      • R Richard A Dalton

                        OK, this'll be a little long because this is a huge bug bear of mine. The only reason you can't explain something is that you don't understand it. I have never met anyone who was unable to explain something that they understood. I meet lots of people who think they understand things but can't explain them, and on pressing they discover they don't. I fall into this category myself quite often. I saw this so many times when lecturing. People could give the text book definition of something but couldn't explain it. It's the difference between knowing and understanding. I test knowledge by whether or not someone can "teach" it. So in an interview situation I would ask the person to "teach" me how something works, or why some technique can be handy. Testbook definitions are meaningless in that situation. If you find you are stumped when it comes to explaining polymorphism it's because a) you don't actually understand it and b) while compensating for not understanding it you are getting hung up on the text book definition. For the record, my significant other has exactly the same problem as you, also with Polymorphism funnily enough. Now, you can use techniques in your code without fully understanding them. The hundrends of libraries, tools, frameworks and principles etc that we have to use mean that we spend big chunks of our time using things that we only superficially know (but don't understand). I still need my cheat sheets for a significant number of technologies. And that's fine, it's fine with technologies and tools to not get them on a deep level. If I had someone sitting in front of me who had trouble remembering the exact syntax of how to mock an object using Rhino Mocks, It would be interesting, but I wouldn't care too much. If they couldn't explain in their own words why you would want to mock an object I'd be more concerned. If I had someone sitting in front of me who claimed to be good at OO but who couldn't teach me about polymorphism I'd be very concerned. The best way test whether you understand something is to find someone who doesn't understand it and try to teach them. If you feel you get stuck on Polymorphism then use it. Create a demo and show it to a work colleague. You will feel the click in your head when you move from knowledge to understanding (for me it's "duhn duhn" the sound from Law And Order, it might be different for you). Stick at it, but forget about memorising text books. -Richard

                        Hit any user to continue.

                        S Offline
                        S Offline
                        Slacker007
                        wrote on last edited by
                        #18

                        I agree +5 Well said...

                        1 Reply Last reply
                        0
                        • C Chris C B

                          Marc Clifton wrote:

                          Personally, what I find much more difficult, interesting, and useful, is learning the lingo of the domain, be it Wall St. or aeronautics or *cough* the entertainment sector, boatyards, etc.

                          The way I earn my living, this is essential. I don't suppose I write academic-standard code (but hey, it compiles, runs, and is stable :) ) but when I get a project, the first thing I do is really understand the client's business, to the point where I can sit in a management meeting and understand everything, jargon and all. I also interview all the users who are going to work on the system, because their understanding of the problem is often very different to management's at the fine detail level. This also gives the users some feeling of ownership in the project, and this can be hugely useful further down the road. Oops - wandered off topic there, sorry. :-O

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

                          Chris C-B wrote:

                          because their understanding of the problem is often very different to management's at the fine detail level.

                          That is SO true. And not just at the fine detail level, but even the large picture. When there's a difference of perception of the problem at the high level between management and users, that's a huge red flag for me that the project is going to end up in flames--the disconnect that management has with users typically portends that users will not, ultimately, be supportive of the effort. And therefore, my livelihood, haha.

                          Chris C-B wrote:

                          This also gives the users some feeling of ownership in the project, and this can be hugely useful further down the road.

                          Exactly! Marc

                          C 1 Reply Last reply
                          0
                          • A AWdrius

                            I bet you can be a great *solo* programmer/developer/engineer, but when working in team you need to know how certain patterns are named to make communication faster and more fluent. I was like you a couple of years ago, but then I spent some time learning a proper names for patters, structures, etc. and it is kinda worth knowing them (-. So keep up and you will eventually be there.

                            Trust is a weakness.

                            S Offline
                            S Offline
                            Single Step Debugger
                            wrote on last edited by
                            #20

                            Funny enough I used to work in the past with two different Java teams. The first team was mostly from mediocre/least said/ or wannabe programmer individuals and every second word coming out their mouths was “pattern” pronounced with self-confidence. In the moment I released in what I’ve get into I ran from there like a Salma Hayek from Pete O'Hanlon. The second Java team was from complete professionals who had created a huge complicated and bug free system using Java. These guys learned me, the C++ and SQLServer zealot, to like some aspects of Java and to respect Oracle. And for three years working with them I’ve never heard the word “pattern”, ever.

                            The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                            A C P 3 Replies Last reply
                            0
                            • C Chris Losinger

                              AWdrius wrote:

                              but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

                              in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

                              image processing toolkits | batch image processing

                              K Offline
                              K Offline
                              keyboard warrior
                              wrote on last edited by
                              #21

                              Chris Losinger wrote:

                              i have never had a discussion with a co-worker about a "pattern".

                              this used to be true for me. but lately people in the office have really gotten into project runway.

                              modified on Monday, November 8, 2010 1:28 PM

                              1 Reply Last reply
                              0
                              • R Richard A Dalton

                                OK, this'll be a little long because this is a huge bug bear of mine. The only reason you can't explain something is that you don't understand it. I have never met anyone who was unable to explain something that they understood. I meet lots of people who think they understand things but can't explain them, and on pressing they discover they don't. I fall into this category myself quite often. I saw this so many times when lecturing. People could give the text book definition of something but couldn't explain it. It's the difference between knowing and understanding. I test knowledge by whether or not someone can "teach" it. So in an interview situation I would ask the person to "teach" me how something works, or why some technique can be handy. Testbook definitions are meaningless in that situation. If you find you are stumped when it comes to explaining polymorphism it's because a) you don't actually understand it and b) while compensating for not understanding it you are getting hung up on the text book definition. For the record, my significant other has exactly the same problem as you, also with Polymorphism funnily enough. Now, you can use techniques in your code without fully understanding them. The hundrends of libraries, tools, frameworks and principles etc that we have to use mean that we spend big chunks of our time using things that we only superficially know (but don't understand). I still need my cheat sheets for a significant number of technologies. And that's fine, it's fine with technologies and tools to not get them on a deep level. If I had someone sitting in front of me who had trouble remembering the exact syntax of how to mock an object using Rhino Mocks, It would be interesting, but I wouldn't care too much. If they couldn't explain in their own words why you would want to mock an object I'd be more concerned. If I had someone sitting in front of me who claimed to be good at OO but who couldn't teach me about polymorphism I'd be very concerned. The best way test whether you understand something is to find someone who doesn't understand it and try to teach them. If you feel you get stuck on Polymorphism then use it. Create a demo and show it to a work colleague. You will feel the click in your head when you move from knowledge to understanding (for me it's "duhn duhn" the sound from Law And Order, it might be different for you). Stick at it, but forget about memorising text books. -Richard

                                Hit any user to continue.

                                V Offline
                                V Offline
                                Vark111
                                wrote on last edited by
                                #22

                                Agree whole-heartedly with this. "Teaching through" a problem is also a great way to get through particularly troublesome architecture difficulties or debugging issues. I have a small stuffed animal on my desk, and that sea otter is one damned fine developer with all the free programming lessons he's been given.

                                1 Reply Last reply
                                0
                                • C Chris Losinger

                                  AWdrius wrote:

                                  but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

                                  in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

                                  image processing toolkits | batch image processing

                                  N Offline
                                  N Offline
                                  Nemanja Trifunovic
                                  wrote on last edited by
                                  #23

                                  Chris Losinger wrote:

                                  in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

                                  Switch to Java (or SmallTalk if it still exists) and you'll have plenty of such discussions.

                                  utf8-cpp

                                  J 1 Reply Last reply
                                  0
                                  • R Richard A Dalton

                                    OK, this'll be a little long because this is a huge bug bear of mine. The only reason you can't explain something is that you don't understand it. I have never met anyone who was unable to explain something that they understood. I meet lots of people who think they understand things but can't explain them, and on pressing they discover they don't. I fall into this category myself quite often. I saw this so many times when lecturing. People could give the text book definition of something but couldn't explain it. It's the difference between knowing and understanding. I test knowledge by whether or not someone can "teach" it. So in an interview situation I would ask the person to "teach" me how something works, or why some technique can be handy. Testbook definitions are meaningless in that situation. If you find you are stumped when it comes to explaining polymorphism it's because a) you don't actually understand it and b) while compensating for not understanding it you are getting hung up on the text book definition. For the record, my significant other has exactly the same problem as you, also with Polymorphism funnily enough. Now, you can use techniques in your code without fully understanding them. The hundrends of libraries, tools, frameworks and principles etc that we have to use mean that we spend big chunks of our time using things that we only superficially know (but don't understand). I still need my cheat sheets for a significant number of technologies. And that's fine, it's fine with technologies and tools to not get them on a deep level. If I had someone sitting in front of me who had trouble remembering the exact syntax of how to mock an object using Rhino Mocks, It would be interesting, but I wouldn't care too much. If they couldn't explain in their own words why you would want to mock an object I'd be more concerned. If I had someone sitting in front of me who claimed to be good at OO but who couldn't teach me about polymorphism I'd be very concerned. The best way test whether you understand something is to find someone who doesn't understand it and try to teach them. If you feel you get stuck on Polymorphism then use it. Create a demo and show it to a work colleague. You will feel the click in your head when you move from knowledge to understanding (for me it's "duhn duhn" the sound from Law And Order, it might be different for you). Stick at it, but forget about memorising text books. -Richard

                                    Hit any user to continue.

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

                                    I use polymorphism all the time (as I imagine we all do) yet the word is too abstract (no pun intended) for me to spit out a concise definition on demand, but if you want me to describe how inheritance can be used to change the behavior based on type, I can do that readily. On the other hand, I have a friend who can wax eloquently on polymorphism for hours but couldn't explain type inheritance. He lives in a much more abstract world than me, while I live in a rather more concrete world. We have great discussions, because I can take his abstractions and put them into some really interesting implementation, and when I talk to him about implementation, he often points me to new ideas in abstraction. The point being, I don't really think it's a lack of understanding that I can't spit out the definition of polymorphism, it's more related to what domain (that word again) I live in and where I choose to focus my attention. Most IT techy-words I basically just bleep over, like Linus reading War and Peace, because I don't connect to abstract terms. Maybe I should have taken Latin in school. ;) Marc

                                    R J A 3 Replies Last reply
                                    0
                                    • C Chris Losinger

                                      AWdrius wrote:

                                      but when working in team you need to know how certain patterns are named to make communication faster and more fluent.

                                      in my 17 years of programming, i have never had a discussion with a co-worker about a "pattern".

                                      image processing toolkits | batch image processing

                                      A Offline
                                      A Offline
                                      AWdrius
                                      wrote on last edited by
                                      #25

                                      OK, so how you go around describing say (the very popular as of late) singleton pattern or factory method, etc. Then again, English is not my first language (or the last one (- ), so for me it is easier to describe the approach to a problem using "standardized" language than dancing around (-.

                                      Trust is a weakness.

                                      C 1 Reply Last reply
                                      0
                                      • C Chris C B

                                        Marc Clifton wrote:

                                        Personally, what I find much more difficult, interesting, and useful, is learning the lingo of the domain, be it Wall St. or aeronautics or *cough* the entertainment sector, boatyards, etc.

                                        The way I earn my living, this is essential. I don't suppose I write academic-standard code (but hey, it compiles, runs, and is stable :) ) but when I get a project, the first thing I do is really understand the client's business, to the point where I can sit in a management meeting and understand everything, jargon and all. I also interview all the users who are going to work on the system, because their understanding of the problem is often very different to management's at the fine detail level. This also gives the users some feeling of ownership in the project, and this can be hugely useful further down the road. Oops - wandered off topic there, sorry. :-O

                                        A Offline
                                        A Offline
                                        AWdrius
                                        wrote on last edited by
                                        #26

                                        Chris C-B wrote:

                                        sit in a management meeting and understand everything, jargon and all

                                        That is a must. I remember how confused I was when jumped into airlines industry.

                                        Chris C-B wrote:

                                        Oops - wandered off topic there, sorry.

                                        It works for me to get to the Launge and read some stories while some algorithm compiles at the back of my mind.

                                        Trust is a weakness.

                                        1 Reply Last reply
                                        0
                                        • A AWdrius

                                          OK, so how you go around describing say (the very popular as of late) singleton pattern or factory method, etc. Then again, English is not my first language (or the last one (- ), so for me it is easier to describe the approach to a problem using "standardized" language than dancing around (-.

                                          Trust is a weakness.

                                          C Offline
                                          C Offline
                                          Chris Losinger
                                          wrote on last edited by
                                          #27

                                          we talk about them as singletons and class factories, not as "patterns" but as a "singleton" and a "class factory". and since both terms predate the "Design Patterns" book, i don't see them as being part of the "patterns" craze. maybe other people do.

                                          image processing toolkits | batch image processing

                                          A 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