Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What every programmer should know?

What every programmer should know?

Scheduled Pinned Locked Moved The Lounge
csharpcomquestiondiscussion
42 Posts 17 Posters 3 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 Dy

    A couple I'd ask would be: What is "const", and when should you use it, esp. in OOP? What is a "copy constructor", and when should you write one? Explain what is meant by "encapsulation" Explain your understanding of "structured exception handling" I'd probably through in a couple about STL too. Really, these are the question's I'd like to scream at the people who originally wrote the code I'm currently "maintaining". These basic's can go a long way, the lack of them can (and do!) make my head spin.


    -Dy

    C Offline
    C Offline
    code frog 0
    wrote on last edited by
    #25

    -Dy wrote: What is "const", and when should you use it, esp. in OOP? What is a "copy constructor", and when should you write one? Explain what is meant by "encapsulation" Explain your understanding of "structured exception handling" I'd probably through in a couple about STL too. What if he's interviewing for an ASP .Net position?:)

    I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.

    1 Reply Last reply
    0
    • C code frog 0

      Personally, I've always thought that interviewers that prepare technical questions ahead of time are missing the total point. You cannot do that and do much justice to the applicant. I mean yeah, you can discuss for loops, recursion, dynamic programming and sorting. Stick to the basics for your canned questions (if you are going to use them, I think canned questions stink). I have yet to be in an interview where the skills in question were not quickly observed or not. You need to look at the applicants resume. I'd go through it carefully. If after going through it carefully you still like the candidate you need to do some more research. If they indicate you can contact present/past employers do it. Don't ask the employers about the candidate ask the employers about the systems the candidate worked on. What challenges had to be overcome in writing the system? What philosophies were used to manage changes, bugs and new code. Start forming an idea in your head of the skills the developer should be bringing to the table after you've done some research. Then go in to the interview with a customized set of questions. Talk about former systems and the challenges. Get a feel for how the developer approaches solving problems. I've always believed a developers answers to solving problems are important but nothing in comparison to how he/she approaches solving problems. Get a feel for that. Get a feel for what it would be like to work with that developer. Most importantly, if your business frequently requires unusual hours or a heavy support burden after hours make that known up front. Developers will piss and moan until the cows come home about support rotation and trouble-shooting. If you make it known in the interview what the expectations are and they still accept the job then you have grounds for saying, "Hey, we told you up front. You accepted the job. Now cork it and get it done." My advice, don't can or script your interviews in an assembly line way. Take the time each applicant really deserves to prepare an interview that is customized for them. They've taken the time to select you as a company. If they are worth anything they have learned as much about your company as they could before coming there. It's your obligation to do the same about them. I think it establishes a healthy relationship from the beginning and it keeps everything in the proper context for an interview. You can talk about design patterns if you wish but if the developers experience has never involved the use of patterns then he/sh

      E Offline
      E Offline
      El Corazon
      wrote on last edited by
      #26

      code-frog wrote: Don't make it canned. Nobody likes a canned product. That's why my only fixed questions are philosophical. Anything programming is based on their resume. If they say they were involved as a group leader working on a communication project for xx company. I ask about the group dynamics, the processes of keeping up with the code base, delivery schedules, etc. If they did the work they say they did, then they can answer about the work they did, which means they know what they should know to get the job done. :) _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

      1 Reply Last reply
      0
      • S Sijin

        I am trying to come up with a set of questions that will form the initial screening round for all candiates at our company. Any thoughts about questions/concepts that should defintely be known by any programmer?


        I always think that the idea of a compiler that compiles another compiler or itself is rather incestuous in a binary way. - Colin Davies My .Net Blog

        C Offline
        C Offline
        code frog 0
        wrote on last edited by
        #27

        You might also ask: 1. Are you a known terrorist? If yes, which countries are you currently wanted in? Will we get a reward for turning you in? 2. Are you an aspiring terrorist? If yes, please provide us a list of names and addresses for your friends. We'd like to interview them to. ;) 3. Have you ever considered being a terrorist? If yes, please tell us what kept you from becoming one and please leave your briefcase at home when you arrive for your interview. 4. Have you ever built a bomb? Thought of using a bomb? Strapped a bomb to your body? If so when, where and how did you survive? Please note that due to discrimination laws in the U.S. we cannot preclude you from employment in our company. In fact in a few more years you'll probably be able to legally marry other terrorists and get health insurance. We will even allow you to adopt small terrorists or older ones who need a good home. We just like to know these things up front so we can keep with current national and state level requirements for making sure we are an equal opportunity employer. Have a nice day! {If you cannot read the above and appreciate the humor in it then I apologize. It was written in a spirit of humor that resulted from an IM session between myself and a peer on this topic.} - Rex

        I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.

        R 1 Reply Last reply
        0
        • D Dy

          A couple I'd ask would be: What is "const", and when should you use it, esp. in OOP? What is a "copy constructor", and when should you write one? Explain what is meant by "encapsulation" Explain your understanding of "structured exception handling" I'd probably through in a couple about STL too. Really, these are the question's I'd like to scream at the people who originally wrote the code I'm currently "maintaining". These basic's can go a long way, the lack of them can (and do!) make my head spin.


          -Dy

          R Offline
          R Offline
          Ray Kinsella
          wrote on last edited by
          #28

          good ones ... why the "esp. in OOP" for the const explaination ?

          1 Reply Last reply
          0
          • R Ray Kinsella

            1. Explain some difference between an abstract class and an interface 2. what is a virtual method 3. Explain some difference between in process and out of process 4. How big is a byte in bits 5. Describe the decorator design pattern Regards Ray "Je Suis Mort De Rire"

            R Offline
            R Offline
            Ray Cassick
            wrote on last edited by
            #29

            Lets not forget some of the 'soft skills' 6. How to run a 'productive' meeting. 7. How to talk to 'people' using a minimum of 3 buzz words per paragraph. 8. How to NOT respond to every problem with 'it runs fine on my test box'.


            George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
            My Blog[^]


            1 Reply Last reply
            0
            • E El Corazon

              feline_dracoform wrote: preferably including a few new ones for me to learn and use on those *really* bad days I can't speak more than English, but I can swear a little in 3 languages. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

              R Offline
              R Offline
              Ray Cassick
              wrote on last edited by
              #30

              Jeffry J. Brickley wrote: ...but I can swear a little in 3 languages. Is one of them Klingon? Qu'vatlh


              George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
              My Blog[^]


              E 1 Reply Last reply
              0
              • C code frog 0

                You might also ask: 1. Are you a known terrorist? If yes, which countries are you currently wanted in? Will we get a reward for turning you in? 2. Are you an aspiring terrorist? If yes, please provide us a list of names and addresses for your friends. We'd like to interview them to. ;) 3. Have you ever considered being a terrorist? If yes, please tell us what kept you from becoming one and please leave your briefcase at home when you arrive for your interview. 4. Have you ever built a bomb? Thought of using a bomb? Strapped a bomb to your body? If so when, where and how did you survive? Please note that due to discrimination laws in the U.S. we cannot preclude you from employment in our company. In fact in a few more years you'll probably be able to legally marry other terrorists and get health insurance. We will even allow you to adopt small terrorists or older ones who need a good home. We just like to know these things up front so we can keep with current national and state level requirements for making sure we are an equal opportunity employer. Have a nice day! {If you cannot read the above and appreciate the humor in it then I apologize. It was written in a spirit of humor that resulted from an IM session between myself and a peer on this topic.} - Rex

                I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.

                R Offline
                R Offline
                Ray Cassick
                wrote on last edited by
                #31

                hehehhe Sad thing is that you would probably be sued for asking this :) Tends to lean a bit on the applicant's political affiliations and is not really allowed. It is kind of like asking an applicant if they are a Democrat or a Republican. You can do it after they are hired but not before.


                George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
                My Blog[^]


                C E 2 Replies Last reply
                0
                • R Ray Kinsella

                  1. Explain some difference between an abstract class and an interface 2. what is a virtual method 3. Explain some difference between in process and out of process 4. How big is a byte in bits 5. Describe the decorator design pattern Regards Ray "Je Suis Mort De Rire"

                  M Offline
                  M Offline
                  mrs_burmeister
                  wrote on last edited by
                  #32

                  I think you should question how well their style meshes with the team. It is a lot easy to teach someone the definition of polymorphism than it is to teach yourself not to throttle some prat during crunch-time.

                  1 Reply Last reply
                  0
                  • R Ray Cassick

                    hehehhe Sad thing is that you would probably be sued for asking this :) Tends to lean a bit on the applicant's political affiliations and is not really allowed. It is kind of like asking an applicant if they are a Democrat or a Republican. You can do it after they are hired but not before.


                    George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
                    My Blog[^]


                    C Offline
                    C Offline
                    code frog 0
                    wrote on last edited by
                    #33

                    Ray Cassick wrote: you would probably be sued for asking this There is that. But I imagine you would never get an honest answer from a real terrorist either. Which makes asking the question a bit of a waste of time unless you are the CIA/FBI/MVP/BOB/Etc... :laugh:

                    I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.

                    R E 2 Replies Last reply
                    0
                    • S Shog9 0

                      Eh, i'm that idiot who's out skating in 100+F days, and relaxing in a snow bank on <0F days. I park in the front row or the back - either way, my car is left alone.

                      My god, you're a genius! - Jörgen Sigvardsson, The Lounge

                      S Offline
                      S Offline
                      Steve Mayfield
                      wrote on last edited by
                      #34

                      This is one of the suggestions to programmers to get enough daily exercise...park in a differnt spot each day and then you will get plenty...walking up and down the rows looking for your car because you forgot where you parked it :confused: :-D Steve

                      1 Reply Last reply
                      0
                      • C code frog 0

                        Ray Cassick wrote: you would probably be sued for asking this There is that. But I imagine you would never get an honest answer from a real terrorist either. Which makes asking the question a bit of a waste of time unless you are the CIA/FBI/MVP/BOB/Etc... :laugh:

                        I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.

                        R Offline
                        R Offline
                        Ray Cassick
                        wrote on last edited by
                        #35

                        code-frog wrote: Which makes asking the question a bit of a waste of time unless you are the CIA/FBI/MVP/BOB/Etc Kind of like those dump questions that they ask you at the airport... :laugh:


                        George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
                        My Blog[^]


                        1 Reply Last reply
                        0
                        • R Ray Cassick

                          Jeffry J. Brickley wrote: ...but I can swear a little in 3 languages. Is one of them Klingon? Qu'vatlh


                          George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
                          My Blog[^]


                          E Offline
                          E Offline
                          El Corazon
                          wrote on last edited by
                          #36

                          Ray Cassick wrote: Is one of them Klingon? Nope, I can order dinner, and cuss in spanish, and I can order a beer and cuss in German. That is about the extent of my foreign language ability.... I may not fully remember the beer order also, I never actually used it. I also learned another sentance in german from an Air Force maintenance tech, but I never used that either and probably never will. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                          1 Reply Last reply
                          0
                          • F feline_dracoform

                            yep, you are through to the second round of interviews :) zen is the art of being at one with the two'ness

                            E Offline
                            E Offline
                            El Corazon
                            wrote on last edited by
                            #37

                            feline_dracoform wrote: you are through to the second round of interviews does a gift pack from the Hershey plant in Hershey, PA get one to the next round or is that still considered bribery? ;) _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                            F 1 Reply Last reply
                            0
                            • S Sijin

                              I am trying to come up with a set of questions that will form the initial screening round for all candiates at our company. Any thoughts about questions/concepts that should defintely be known by any programmer?


                              I always think that the idea of a compiler that compiles another compiler or itself is rather incestuous in a binary way. - Colin Davies My .Net Blog

                              G Offline
                              G Offline
                              Gary Kirkham
                              wrote on last edited by
                              #38

                              Find out if they know the concepts of good shared coffee pot etiquette. Gary Kirkham Forever Forgiven and Alive in the Spirit He is no fool who gives what he cannot keep to gain what he cannot lose. - Jim Elliot Me blog, You read

                              1 Reply Last reply
                              0
                              • R Ray Cassick

                                hehehhe Sad thing is that you would probably be sued for asking this :) Tends to lean a bit on the applicant's political affiliations and is not really allowed. It is kind of like asking an applicant if they are a Democrat or a Republican. You can do it after they are hired but not before.


                                George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
                                My Blog[^]


                                E Offline
                                E Offline
                                El Corazon
                                wrote on last edited by
                                #39

                                Ray Cassick wrote: Sad thing is that you would probably be sued for asking this Tends to lean a bit on the applicant's political affiliations and is not really allowed. It's allowed here and probably always will be. However, what stops the person from lying? My last employer asked someone if they were Catholic once... I almost fell out of my seat in that interview. It's a good thing she didn't know that was innapropriate, but you could sure see she was uncomfortable. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                1 Reply Last reply
                                0
                                • C code frog 0

                                  Ray Cassick wrote: you would probably be sued for asking this There is that. But I imagine you would never get an honest answer from a real terrorist either. Which makes asking the question a bit of a waste of time unless you are the CIA/FBI/MVP/BOB/Etc... :laugh:

                                  I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.

                                  E Offline
                                  E Offline
                                  El Corazon
                                  wrote on last edited by
                                  #40

                                  code-frog wrote: But I imagine you would never get an honest answer from a real terrorist either. Which makes asking the question a bit of a waste of time It is, per se. but if you ever find out otherwise, one of the employment clauses is "termination for lying on your application," so if you ask the question, and they lie, then you have grounds for immeadiate termination. Thus it might be a waste of time up front, but if investigation turns up something later, rapid termination is now legal. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                  1 Reply Last reply
                                  0
                                  • C code frog 0

                                    feline_dracoform wrote: i have the theory and belief that you can always learn new areas and skills, but if you don't have the right sort of mind set to begin with this will be the biggest problem. I think that about 98% of us would confirm your theory thereby making it a fact. A former boss of mine used to say something to the effect of Aptitude = 200% Attitude. He'd go further to say that with the proper attitude and mind-set a person can be taught almost anything. His concern and his praise was rarely based on aptitude. His reviews always praised and focused on developing attitude. He rewarded very generously for attitude. He had a quip I really liked. "I can improve your aptitude and therefore I should get the raise. Only you can improve your attitude for which I will give you a raise." Good Philosophy and his mileage didn't vary. It was outstanding. To this day he continues to be a mentory. Smart Man he was, strong in the force was he. ;P (Did I really just type that? How embarrassing.)

                                    I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.

                                    F Offline
                                    F Offline
                                    feline_dracoform
                                    wrote on last edited by
                                    #41

                                    this sounds like a *very* wise man indeed! and yes you did just type that, and it seems to be true :) zen is the art of being at one with the two'ness

                                    1 Reply Last reply
                                    0
                                    • E El Corazon

                                      feline_dracoform wrote: you are through to the second round of interviews does a gift pack from the Hershey plant in Hershey, PA get one to the next round or is that still considered bribery? ;) _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                      F Offline
                                      F Offline
                                      feline_dracoform
                                      wrote on last edited by
                                      #42

                                      i am not a great fan of Hershey's, but you are definitely on the right track for getting the post :) this is not bribery, it is considered: * showing a proper appreciation of the work place ethic * knowing how to enhance happiness and cooperation with your collages * you are bringing something valuable to the table *radiates open innocence* zen is the art of being at one with the two'ness

                                      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