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. C# devs: how about these interview questions?

C# devs: how about these interview questions?

Scheduled Pinned Locked Moved The Lounge
csharplinqquestiondesigntesting
43 Posts 25 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.
  • K kdmote

    I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

    P Offline
    P Offline
    patbob
    wrote on last edited by
    #27

    You could ask them questions they are unlikely to find in most books: * When does a class static constructor get run? * What does the Conditional attribute do? Or, if you're feeling more friendly to the candidate: When you call a Debug.Assert(), do the arguments get evaluated in release builds? * What's a debugger display attribute and why would you use it? * In a lambda function, is it possible to use a function that returns void? For example, can something like Console.WriteLine() be used in a lambda function? * What don't you like about C#? Or: In your opinion, what did Microsoft get wrong in the C# language? I particularly like this question, and I don't care about what their answer is, but merely that they have and answer and can defend their position. Only caveat, if you don't use these things in your codebase, and don't want to start, I wouldn't use them as interview questions. Otherwise, you might be filtering out candidates that could be good additions to your team.

    kdmote wrote:

    not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz.

    Bonus points if you have them write it as a LINQ statement :)

    We can program with only 1's, but if all you've got are zeros, you've got nothing.

    1 Reply Last reply
    0
    • K kdmote

      I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #28

      I don't consider myself a super strong C# and even I could answer those questions. I'd think if they couldn't answer those then they aren't mid-level devs. In fact, I might use that list myself for interviews.

      Jeremy Falcon

      1 Reply Last reply
      0
      • K kdmote

        I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

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

        kdmote wrote:

        How do you inherit a class, and why might you want to?

        I think a relative has to die, and that's not fun to think about.

        kdmote wrote:

        What is the purpose of interfaces, and how are they helpful?

        It's all about the interaction, like we're interfacing right now.

        kdmote wrote:

        Why would you ever want to make a method private or protected?

        There are just some things you don't want to have witnesses for

        kdmote wrote:

        Can you explain what a lambda is, and why you might use one

        A lambda is a baby sheepda, and it's used to distract rednecks from noticing your own private methods.

        kdmote wrote:

        Why might you use a property instead of a regular variable?

        You can't do anything without property.

        kdmote wrote:

        Are you familiar with any "Design Patterns"?

        My wife is the seamstress in the house...

        kdmote wrote:

        Have you heard of the concept of "tight" or "loose coupling",

        Yes, but now we're solidly back into that private methods/no witnesses thing.

        kdmote wrote:

        Have you used a Unit Testing framework?

        Yeah, but I found out my unit was just fine.

        ".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
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        G V 2 Replies Last reply
        0
        • K kdmote

          I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

          F Offline
          F Offline
          Foothill
          wrote on last edited by
          #30

          I think a good mid-level C# developer would have a solid command of most of the canned classes and collections. I personally would ask them to hand write code or psuedo-code for loading a CSV file and run some basic analysis on it such as summing and averaging values from two or three of the columns. If they properly use the System.IO, System.Collections, and possibly System.Data classes and proper flow control, they are ready for a more technical interview. I would follow up with questions on when to use interfaces, what the null coalescing and null conditional operators are used for, and explain lambda expressions just to gauge if they have been keeping up with how the language has evolved.

          if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

          1 Reply Last reply
          0
          • P Pualee

            In about the year 2000, after coding C++ for a few years, I saw C#. I pronounced it "see pound". I still don't know why it is "see sharp". Alternatively, I think "see plus plus plus plus" makes more sense - it's almost a pound symbol. ++ ++

            K Offline
            K Offline
            kdmote
            wrote on last edited by
            #31

            Of course, it's just a fancy D-flat.

            1 Reply Last reply
            0
            • P Pualee

              In about the year 2000, after coding C++ for a few years, I saw C#. I pronounced it "see pound". I still don't know why it is "see sharp". Alternatively, I think "see plus plus plus plus" makes more sense - it's almost a pound symbol. ++ ++

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #32

              Pualee wrote:

              I still don't know why it is "see sharp".

              Because in musical notation "#" indicates a "sharp" note: it's called an "accidental" that raises the pitch of a note by a semitone. Sharp (music) - Wikipedia[^]

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              P 1 Reply Last reply
              0
              • L Lost User

                Ask them, wether they prefer strongly typed or stringly typed code. Edit: That typo was good :-)

                The language is JavaScript. that of Mordor, which I will not utter here
                This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                G Offline
                G Offline
                Gary Wheeler
                wrote on last edited by
                #33

                I prefer stringently-typed variables, myself.

                Software Zen: delete this;

                L 1 Reply Last reply
                0
                • realJSOPR realJSOP

                  kdmote wrote:

                  How do you inherit a class, and why might you want to?

                  I think a relative has to die, and that's not fun to think about.

                  kdmote wrote:

                  What is the purpose of interfaces, and how are they helpful?

                  It's all about the interaction, like we're interfacing right now.

                  kdmote wrote:

                  Why would you ever want to make a method private or protected?

                  There are just some things you don't want to have witnesses for

                  kdmote wrote:

                  Can you explain what a lambda is, and why you might use one

                  A lambda is a baby sheepda, and it's used to distract rednecks from noticing your own private methods.

                  kdmote wrote:

                  Why might you use a property instead of a regular variable?

                  You can't do anything without property.

                  kdmote wrote:

                  Are you familiar with any "Design Patterns"?

                  My wife is the seamstress in the house...

                  kdmote wrote:

                  Have you heard of the concept of "tight" or "loose coupling",

                  Yes, but now we're solidly back into that private methods/no witnesses thing.

                  kdmote wrote:

                  Have you used a Unit Testing framework?

                  Yeah, but I found out my unit was just fine.

                  ".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
                  -----
                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                  G Offline
                  G Offline
                  Gary Wheeler
                  wrote on last edited by
                  #34

                  :laugh:

                  Software Zen: delete this;

                  1 Reply Last reply
                  0
                  • G Gary Wheeler

                    I prefer stringently-typed variables, myself.

                    Software Zen: delete this;

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

                    That's commendable, as long as you don't stringently stringly type. :-)

                    The language is JavaScript. that of Mordor, which I will not utter here
                    This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                    "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                    1 Reply Last reply
                    0
                    • K kdmote

                      I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

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

                      kdmote wrote:

                      looking for a mid-level C# developer

                      Ugh. All those questions a mid-level developer should be able to answer, and you should have been able to glean from their resume / github / LinkedIn that they are capable of answering those questions. Even for mid-level developers, I would stick with questions that are more open ended and tell you about their thinking process. Marc

                      V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Pualee wrote:

                        I still don't know why it is "see sharp".

                        Because in musical notation "#" indicates a "sharp" note: it's called an "accidental" that raises the pitch of a note by a semitone. Sharp (music) - Wikipedia[^]

                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                        P Offline
                        P Offline
                        Pualee
                        wrote on last edited by
                        #37

                        Oh, I know music, just thinking about the progression of the language: A, B, C, C++ Of course there is D but nobody cared. C++ implied there was something more than C (the ++ operator for instance). By why switch to music for C#? We know the C part came to attract C and C++ developers, but why on earth "sharp"? When using the # character in coding, it was always pound, not sharp (now folks fancy it a hash tag).

                        OriginalGriffO 1 Reply Last reply
                        0
                        • P Pualee

                          Oh, I know music, just thinking about the progression of the language: A, B, C, C++ Of course there is D but nobody cared. C++ implied there was something more than C (the ++ operator for instance). By why switch to music for C#? We know the C part came to attract C and C++ developers, but why on earth "sharp"? When using the # character in coding, it was always pound, not sharp (now folks fancy it a hash tag).

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #38

                          Pualee wrote:

                          why on earth "sharp"?

                          Because a committee got involved: The A-Z of Programming Languages: C# - Computerworld[^] :sigh:

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          1 Reply Last reply
                          0
                          • K kdmote

                            I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

                            J Offline
                            J Offline
                            jgakenhe
                            wrote on last edited by
                            #39

                            Those are good questions, but I'd also ask some questions pertaining to the other tiers, such as database and UI.

                            1 Reply Last reply
                            0
                            • K kdmote

                              I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

                              M Offline
                              M Offline
                              Mark_Wallace
                              wrote on last edited by
                              #40

                              Since most of the questions are so vague that they need 1,000-word answers, they're probably hoping to publish a book with material stolen from interview answers.

                              I wanna be a eunuchs developer! Pass me a bread knife!

                              1 Reply Last reply
                              0
                              • K kdmote

                                I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #41

                                Whatever questions you decide on, encode them with ROT13. :cool:

                                1 Reply Last reply
                                0
                                • K kdmote

                                  I am conducting a round of interviews this week, looking for a mid-level C# developer. I'm down-selecting some tech questions which are aimed at trying to filter out the "Yeah, I did a C# project a couple years ago" crowd from the "C# has been in my blood for at least a year or two" folks. But selecting appropriate questions is always a challenge. (Just because something is obvious to me, doesn't mean every developer has encountered it. Every project is different and people get exposed to different things. I definitely want to avoid "language trivia.") So here is my first cut of questions. For those of you who are .NET devs, would you agree that somebody with a couple years of solid experience should be able to talk intelligently about most of these topics? (Not all of these are C#-specific.) 1. How do you inherit a class, and why might you want to? 2. What is the purpose of interfaces, and how are they helpful? 3. Why would you ever want to make a method private or protected? 4. When might you use a static class or method? 5. Can you explain what a lambda is, and why you might use one. (Or, alternatively, LINQ?) 6. Why might you use a property instead of a regular variable? (How are they different?) 7. Are you familiar with any "Design Patterns"? Can you name one or two that you have used? 8. Have you heard of the concept of "tight" or "loose coupling", and how does it effect code design? 9. Have you used a Unit Testing framework? If so, how did it (or unit testing in general) benefit your code, if at all? [Note: we have decided not to make the candidates write or debug actual code in the interview, with the possible exception of FizzBuzz. But that is a topic for another thread.]

                                  V Offline
                                  V Offline
                                  virang_21
                                  wrote on last edited by
                                  #42

                                  Long while ago (7+ years ago ) I was at the receiving end of interview questions. All technical questions being fired at me by 4 people from the company and one of them completely threw me off when all of a sudden one of them asked me "design a zoo". Now I am in a zone to answer technical questions like language syntax and why one thing over other etc and bam..Till date I remember that interview because it was so odd. So you can add that to your list or not ! :)

                                  Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                                  1 Reply Last reply
                                  0
                                  • realJSOPR realJSOP

                                    kdmote wrote:

                                    How do you inherit a class, and why might you want to?

                                    I think a relative has to die, and that's not fun to think about.

                                    kdmote wrote:

                                    What is the purpose of interfaces, and how are they helpful?

                                    It's all about the interaction, like we're interfacing right now.

                                    kdmote wrote:

                                    Why would you ever want to make a method private or protected?

                                    There are just some things you don't want to have witnesses for

                                    kdmote wrote:

                                    Can you explain what a lambda is, and why you might use one

                                    A lambda is a baby sheepda, and it's used to distract rednecks from noticing your own private methods.

                                    kdmote wrote:

                                    Why might you use a property instead of a regular variable?

                                    You can't do anything without property.

                                    kdmote wrote:

                                    Are you familiar with any "Design Patterns"?

                                    My wife is the seamstress in the house...

                                    kdmote wrote:

                                    Have you heard of the concept of "tight" or "loose coupling",

                                    Yes, but now we're solidly back into that private methods/no witnesses thing.

                                    kdmote wrote:

                                    Have you used a Unit Testing framework?

                                    Yeah, but I found out my unit was just fine.

                                    ".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
                                    -----
                                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                    V Offline
                                    V Offline
                                    virang_21
                                    wrote on last edited by
                                    #43

                                    He needed a mid level developer but due to your talent you have been promoted to senior development manager :)

                                    Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                                    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