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. An interview experience

An interview experience

Scheduled Pinned Locked Moved The Lounge
career
21 Posts 12 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.
  • T tumbledDown2earth

    So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

    R Offline
    R Offline
    Rajesh R Subramanian
    wrote on last edited by
    #2

    I'm glad that I rejected you, and it *is* boxing. ;P

    "Real men drive manual transmission" - Rajesh.

    T 1 Reply Last reply
    0
    • R Rajesh R Subramanian

      I'm glad that I rejected you, and it *is* boxing. ;P

      "Real men drive manual transmission" - Rajesh.

      T Offline
      T Offline
      tumbledDown2earth
      wrote on last edited by
      #3

      :)) So you mean to say that in today's C# compiler, the code will compile? I actually tried compiling the code above (since you said) .. and I got this compilation error. "Error 1 Cannot convert type 'string' to 'int' " Any special comments?

      D R 2 Replies Last reply
      0
      • T tumbledDown2earth

        :)) So you mean to say that in today's C# compiler, the code will compile? I actually tried compiling the code above (since you said) .. and I got this compilation error. "Error 1 Cannot convert type 'string' to 'int' " Any special comments?

        D Offline
        D Offline
        devenv exe
        wrote on last edited by
        #4

        tumbledDown2earth wrote:

        Any special comments?

        no, but just boxing

        "Coming soon"

        T 1 Reply Last reply
        0
        • T tumbledDown2earth

          :)) So you mean to say that in today's C# compiler, the code will compile? I actually tried compiling the code above (since you said) .. and I got this compilation error. "Error 1 Cannot convert type 'string' to 'int' " Any special comments?

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #5

          tumbledDown2earth wrote:

          Any special comments?

          You missed the joke icon. :)

          "Real men drive manual transmission" - Rajesh.

          T 1 Reply Last reply
          0
          • R Rajesh R Subramanian

            tumbledDown2earth wrote:

            Any special comments?

            You missed the joke icon. :)

            "Real men drive manual transmission" - Rajesh.

            T Offline
            T Offline
            tumbledDown2earth
            wrote on last edited by
            #6

            Oh .. I basically followed the type-tag ... But if it was a joke, then you wouldnt have interviewed :)

            OriginalGriffO 1 Reply Last reply
            0
            • D devenv exe

              tumbledDown2earth wrote:

              Any special comments?

              no, but just boxing

              "Coming soon"

              T Offline
              T Offline
              tumbledDown2earth
              wrote on last edited by
              #7

              FROM MSDN: Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the CLR boxes a value type, it wraps the value inside a System.Object and stores it on the managed heap. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit. The concept of boxing and unboxing underlies the C# unified view of the type system, in which a value of any type can be treated as an object. --- "interface type implemented by this value type" ... I guess the only way to make this work is write an explicit implementation extension (not sure if it would be legal, without trying) ... But again .. if you say UnBoxing it would still be closer :) My core frustration though, is not being able to understand from what language/programming practice can such a thought originate...

              D 1 Reply Last reply
              0
              • T tumbledDown2earth

                FROM MSDN: Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the CLR boxes a value type, it wraps the value inside a System.Object and stores it on the managed heap. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit. The concept of boxing and unboxing underlies the C# unified view of the type system, in which a value of any type can be treated as an object. --- "interface type implemented by this value type" ... I guess the only way to make this work is write an explicit implementation extension (not sure if it would be legal, without trying) ... But again .. if you say UnBoxing it would still be closer :) My core frustration though, is not being able to understand from what language/programming practice can such a thought originate...

                D Offline
                D Offline
                devenv exe
                wrote on last edited by
                #8

                tumbledDown2earth wrote:

                But again .. if you say UnBoxing it would still be closer

                yes of course UnBoxing is closer to Boxing, except that we have to UnBoxing :)

                "Coming soon"

                OriginalGriffO 1 Reply Last reply
                0
                • T tumbledDown2earth

                  Oh .. I basically followed the type-tag ... But if it was a joke, then you wouldnt have interviewed :)

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

                  I dunno - it sounds like the interview was a joke...

                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                  "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
                  • T tumbledDown2earth

                    So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

                    M Offline
                    M Offline
                    Member 9475889
                    wrote on last edited by
                    #10

                    Maybe it was a test to see how you would respond to a superior or colleague upon being given incorrect technical spec and/or guidance!! ;)

                    tumbledDown2earth wrote:

                    Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

                    Well the really technically inept sociopathic ones usually get there by being persuasive. They are good at charming or bullying colleagues and superiors into accepting that they know what they are talking about.

                    1 Reply Last reply
                    0
                    • D devenv exe

                      tumbledDown2earth wrote:

                      But again .. if you say UnBoxing it would still be closer

                      yes of course UnBoxing is closer to Boxing, except that we have to UnBoxing :)

                      "Coming soon"

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

                      Is UnBoxing beating yourself up in a ring? Or competitive healthcare?

                      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                      "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

                      D 1 Reply Last reply
                      0
                      • T tumbledDown2earth

                        So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

                        D Offline
                        D Offline
                        dan sh
                        wrote on last edited by
                        #12

                        That is boxing. Doesn't it make you feel punch the guy?

                        "Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

                        C T 2 Replies Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Is UnBoxing beating yourself up in a ring? Or competitive healthcare?

                          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                          D Offline
                          D Offline
                          devenv exe
                          wrote on last edited by
                          #13

                          OriginalGriff wrote:

                          Is UnBoxing beating yourself up in a ring? Or competitive healthcare?

                          Yes :laugh:

                          "Coming soon"

                          1 Reply Last reply
                          0
                          • D dan sh

                            That is boxing. Doesn't it make you feel punch the guy?

                            "Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

                            C Offline
                            C Offline
                            CPallini
                            wrote on last edited by
                            #14

                            :laugh:

                            Veni, vidi, vici.

                            1 Reply Last reply
                            0
                            • T tumbledDown2earth

                              So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

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

                              tumbledDown2earth wrote:

                              Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

                              Because non-techies can't tell the good ones from the posers. That problem is not particular to CompTech, but seems to be especially prominent here.

                              ORDER BY what user wants

                              1 Reply Last reply
                              0
                              • D dan sh

                                That is boxing. Doesn't it make you feel punch the guy?

                                "Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

                                T Offline
                                T Offline
                                tumbledDown2earth
                                wrote on last edited by
                                #16

                                Yeah ... I wanted to start the real boxing (the sports one)

                                1 Reply Last reply
                                0
                                • T tumbledDown2earth

                                  So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

                                  J Offline
                                  J Offline
                                  Johnny J
                                  wrote on last edited by
                                  #17

                                  "Little boxes on the hillside, little boxes made of ticky-tacky"... Does the C# compiler support a Ticky-tack directive? ;P

                                  Why can't I be applicable like John? - Me, April 2011
                                  -----
                                  Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                                  -----
                                  Da mihi sis crustum Etruscum cum omnibus in eo!
                                  -----
                                  Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

                                  OriginalGriffO 1 Reply Last reply
                                  0
                                  • J Johnny J

                                    "Little boxes on the hillside, little boxes made of ticky-tacky"... Does the C# compiler support a Ticky-tack directive? ;P

                                    Why can't I be applicable like John? - Me, April 2011
                                    -----
                                    Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                                    -----
                                    Da mihi sis crustum Etruscum cum omnibus in eo!
                                    -----
                                    Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

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

                                    No, but there is an abstract TickyTacky class from which you can derive the Box objects. [edit]Typo: "Drive" for "Derive" - OriginalGriff[/edit]

                                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                    "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
                                    • T tumbledDown2earth

                                      So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

                                      B Offline
                                      B Offline
                                      BobJanova
                                      wrote on last edited by
                                      #19

                                      People like this get into that position because someone like that was in the position before, all the good developers WTFed their way out of the interview and turned down the job, so only more people like this came through the doors.

                                      1 Reply Last reply
                                      0
                                      • T tumbledDown2earth

                                        So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

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

                                        I doubt many people write code where boxing or unboxing imposes enough of a performance hit where it is worthy of consideration.

                                        1 Reply Last reply
                                        0
                                        • T tumbledDown2earth

                                          So I met this guy during an interview today who called himself a DOT-NET developer He kept on arguing that following code is called "boxing" string s = "3"; int i = (int)s; I mean, forget boxing .. this code doesnt even compile. I contemplated showing him on a quick online browser but did not have such resources in hand ... He had a bunch of such questions (all of them equally unjustifiable) ... after which I was thankfully rejected ... Gawd I just dont understand how such people get into mainstream interviewing in super large MNCs.

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

                                          :-O

                                          Thou mewling ill-breeding pignut!

                                          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