• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:41
CEST 13:41
KST 20:41
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5TL.net Map Contest #21 - Finalists4Team TLMC #5: Vote to Decide Ladder Maps!0
Community News
5.0.15 Patch Balance Hotfix (2025-10-8)59Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition275.0.15 Balance Patch Notes (Live version)119$2,500 WardiTV TL Map Contest Tournament 154
StarCraft 2
General
PartinG joins SteamerZone, returns to SC2 competition Geoff 'iNcontroL' Robinson has passed away 5.0.15 Patch Balance Hotfix (2025-10-8) Classic Games #3: Rogue vs Serral at BlizzCon Team TLMC #5: Winners Announced!
Tourneys
SC2's Safe House 2 - October 18 & 19 RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament $2,500 WardiTV TL Map Contest Tournament 15
Strategy
Custom Maps
External Content
Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More Mutation # 491 Night Drive
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ I'm making videos again BW General Discussion Question regarding recent ASL Bisu vs Larva game Whose hotkey signature is this?
Tourneys
[Megathread] Daily Proleagues [ASL20] Ro8 Day 4 Small VOD Thread 2.0 [ASL20] Ro8 Day 3
Strategy
TvZ Theorycraft - Improving on State of the Art Current Meta Proposed Glossary of Strategic Uncertainty 9 hatch vs 10 hatch vs 12 hatch
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Stop the Construction YouTube Thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
How "Not Like Us" ripped of…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1276 users

Microsoft Interview - I _had_ one!

Blogs > CecilSunkure
Post a Reply
1 2 3 4 Next All
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
Last Edited: 2013-03-13 07:58:10
March 13 2013 06:04 GMT
#1
Welp. I had a Microsoft interview to intern as a software developer.

It was weird. There was quite a bit of misinformation flying at me, and I was left with a rather disturbing feeling. First off I was interviewed by a project manager instead of a software engineer, which seemed weird right off the bat. I mean sure PMs are really cool people, but they don't code day to day in their job. I'm a programmer, and didn't expect this.

So here's how it went summarized (capitol I is the interviewer):
I: What year are you graduating?
Me: 2015.
Me in my head: What..? Does it matter? I'm interviewing as an intern. Am I disqualified now that you know I won't be able to be hired in a year?

I: What is something you've worked on lately that was difficult yet interesting?
Me: Custom reflection in C++. Blah blah C++ doesn't have native reflection, so I blah blah wrote a lot of cool stuff.
I: Wait what? You used C++ introspection?
Me in my head: Does he not realize that C++ has no built-in (functioning) RTTI? Did I mention the RTTI native to C++ doesn't work? Did he just mis-hear me?
Me: C++ doesn't have native introspection, so I did it myself.
I: Why?
Me: Well it has these benefits... (pretty much I wrote some code that writes a lot of code for me, which is helpful for time budgets!).

I: Write a function that takes two numbers and returns which is larger. Each number is a string of characters with each character as a digit.
Me: <clears up ambiguities like what language this must be in, the format of each number, error handling etc. His responses seemed like he was just plain tired. I was his last interview after a marathon of many interviews for two days straight, and he seemed to be annoyed I was asking questions.>
Me: Write's the following function:
+ Show Spoiler +
// Returns -1 if lhs is larger, 0 if equavilant, and 1 if rhs is larger
// Assumes lhs and rhs are both strings with only decimal digits, e.g. "123" or "12005"
// Also assumes there are no preceding zeros like so: "0052"
int IntegerAsStringCompare( const char *lhs, const char *rhs )
{
int lhs_len = strlen( lhs );
int rhs_len = strlen( rhs );

// Early out with string lengths
if(lhs_len > rhs_len)
return -1;
else if(rhs_len > lhs_len)
return 1;

// Strings are equal length, compare each digit one by one
else
{
// lhs and rhs are equal length, so no need for comparison
// to have lhs && rhs
while(lhs)
{
if(*lhs > *rhs)
return -1;
else if(*rhs > *lhs)
return 1;
++lhs;
++rhs;
}

// Our numbers are equivalent
return 0;
}
}

I talked all about how to support additional number formats such as floats, hex, octal, etc. I talked about error handling as well. I only had a 25 minute interview, so I had to get something on paper and demonstrate I knew how to add onto it to make the entire thing robust in a short amount of time. I mean sure I could improve this function in a few ways, but I wrote it in hardly any time at all and specifically pointed out a lot of ways to improve it, if I had the time to.

I: So next question. You have an array of 17 integers, and each slot's value is it's indexed position. However one index is a duplicate. How do you find what the duplicate is?
Me: N^2 search with a boolean. A faster way would be to add each index's value up and subtract from the expected sum.
I: Okay good. What would you do if the array was very large and overflow would occur?
Me: Integer overflow?
I: Yes.
Me: Can I use an external data structure?
I: Sure.
Me: I could use an external data structure to handle insertions and respond when a duplicate entry is found, such as a modified version of a hash table.
Me: Another solution would be to use multiple integers to emulate a larger data range. In CS 100 we had to add two 16 bit integers with 8 bit values, and I could do the same thing here.
I: We're out of time!

Interview session ends. I believe I answered the questions fairly well, and I answered them nearly identically to some other interviewees that I know (and that I know are very competent programmers).

Now I was told before the interview that everyone being interviewed in the two days could move on and be hired. The person that told me this said they had very specific instructions that everyone could be hired. I was also told before the interview that I could receive the feedback the interviewer wrote down on notes during the interview.

I requested this feedback and was denied, and the denial said that me seeing that information was a break of company policy.

I was also denied an internship for this summer. The reason was that internship positions are very limited. I was also told (through an indirect source) that the main reason people were declined was due to a lack of technical capability. Technical capability? We write game engines from scratch. Is this an easy thing to do? Man students in other schools must be doing really cool things if what I'm doing is technically unadvanced. However I read articles and talk to other professor and am lead to believe that the programmers from my school are quite excellent. Am I just on the lower end of "quite excellent"? This just doesn't all add up.

Honestly I feel like I was declined because I'm a Sophomore. On top of this the interviewer actually seemed annoyed when I would ask initial questions to clear up ambiguity during one of the interview questions. The interviewer also didn't seem to know that C++ didn't have built in introspection (that is usable), unlike other languages such as C#. My interviewer was a Project Manager, and said he didn't hardly code in his day to day job.

I'm just plain confused and am left with a really awkward feeling about all this. Every single Sophomore was declined a position, and I _know_ a lot of these Sophomores are very good programmers. A couple Juniors were admitted. Some very strong Juniors were denied. What is going on here? In the words of my friend (who was just expressing frustration and confusion): "I should write a PRNG to admit or decline applicants... It would at least do a better job than what's currently going on."

Apparently everyone dislikes Microsoft's hiring process and it's in a very poor state of quality currently. I don't have a direct opinion about Microsoft's hiring process that I want to share, but I do know that the feeling I was left with wasn't one that I enjoyed. I've had other interviews before, but this one felt different in a bad way.

Pretty much how I felt a little while later:
+ Show Spoiler [HowIFelt] +
[image loading]


Even though I bring bad news, there is good news yet! I have some other leads to follow. Even though I had a bad experience things turned out quite well overall. I was actually working on solving something a company sent me as a pre-interview test just earlier today!

***
coopes
Profile Blog Joined November 2010
United States144 Posts
March 13 2013 06:12 GMT
#2
cool read. best of luck on your endeavors sir
Chairman Ray
Profile Blog Joined December 2009
United States11903 Posts
March 13 2013 06:30 GMT
#3
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
Last Edited: 2013-03-13 06:33:08
March 13 2013 06:32 GMT
#4
On March 13 2013 15:30 Chairman Ray wrote:
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?

I live in Redmond! Hehe. Thanks for the kind words, I do appreciate it. So after the interview while in Seattle we all actually went to a nice place called Samurai Noodle in the International District. Love that place. I actually went last night as well! Ooooh I want to go again
MysteryMeat1
Profile Blog Joined June 2011
United States3292 Posts
Last Edited: 2013-03-13 06:38:43
March 13 2013 06:38 GMT
#5
On March 13 2013 15:32 CecilSunkure wrote:
Show nested quote +
On March 13 2013 15:30 Chairman Ray wrote:
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?

I live in Redmond! Hehe. Thanks for the kind words, I do appreciate it. So after the interview while in Seattle we all actually went to a nice place called Samurai Noodle in the International District. Love that place. I actually went last night as well! Ooooh I want to go again


samurai noodles, tetsu max is soooo goood.

That picture is how i was after my logic finals. I was 2 for 3 today. Did hella good in bio and o-chem and totally tanked my logic class.

UGGGGGG

GL Cecil, I'm sure it will all work out.


Does your internship have to be in redmond or would seattle work as well?
"Cause ya know, Style before victory." -The greatest mafia player alive
Chairman Ray
Profile Blog Joined December 2009
United States11903 Posts
March 13 2013 06:38 GMT
#6
On March 13 2013 15:32 CecilSunkure wrote:
Show nested quote +
On March 13 2013 15:30 Chairman Ray wrote:
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?

I live in Redmond! Hehe. Thanks for the kind words, I do appreciate it. So after the interview while in Seattle we all actually went to a nice place called Samurai Noodle in the International District. Love that place. I actually went last night as well! Ooooh I want to go again


You live in Redmond? Sweet! I'm house-hunting there right now and will move down in May. I'll see you there!
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
Last Edited: 2013-03-13 06:41:38
March 13 2013 06:39 GMT
#7
On March 13 2013 15:38 Chairman Ray wrote:
Show nested quote +
On March 13 2013 15:32 CecilSunkure wrote:
On March 13 2013 15:30 Chairman Ray wrote:
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?

I live in Redmond! Hehe. Thanks for the kind words, I do appreciate it. So after the interview while in Seattle we all actually went to a nice place called Samurai Noodle in the International District. Love that place. I actually went last night as well! Ooooh I want to go again


You live in Redmond? Sweet! I'm house-hunting there right now and will move down in May. I'll see you there!

Cool we can go out for lunch sometime

On March 13 2013 15:38 MysteryMeat1 wrote:
GL Cecil, I'm sure it will all work out.

Does your internship have to be in redmond or would seattle work as well?

Oh I'm okay with working somewhere else in the US. The Seattle area is ideal of course, since it's cheaper than moving (I'd have to pay two monthly rents if I moved). Like right now I'm working on a written test for a place in California! Don't want to say specifically where just yet though
MysteryMeat1
Profile Blog Joined June 2011
United States3292 Posts
Last Edited: 2013-03-13 06:43:18
March 13 2013 06:42 GMT
#8
On March 13 2013 15:39 CecilSunkure wrote:
Show nested quote +
On March 13 2013 15:38 Chairman Ray wrote:
On March 13 2013 15:32 CecilSunkure wrote:
On March 13 2013 15:30 Chairman Ray wrote:
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?

I live in Redmond! Hehe. Thanks for the kind words, I do appreciate it. So after the interview while in Seattle we all actually went to a nice place called Samurai Noodle in the International District. Love that place. I actually went last night as well! Ooooh I want to go again


You live in Redmond? Sweet! I'm house-hunting there right now and will move down in May. I'll see you there!

Cool we can go out for lunch sometime

Show nested quote +
On March 13 2013 15:38 MysteryMeat1 wrote:
GL Cecil, I'm sure it will all work out.

Does your internship have to be in redmond or would seattle work as well?

Oh I'm okay with working somewhere else in the US. The Seattle area is ideal of course, since it's cheaper than moving (I'd have to pay two monthly rents if I moved). Like right now I'm working on a written test for a place in California! Don't want to say specifically where just yet though



I was just wondering, because my dad's best friend works at UW hospital as a programmer for coding and stuff. He says theres usually quite a few internships. I'll see him on Friday if you want me to ask about specifications and requirements for getting an internship.
"Cause ya know, Style before victory." -The greatest mafia player alive
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
March 13 2013 06:45 GMT
#9
On March 13 2013 15:42 MysteryMeat1 wrote:
Show nested quote +
On March 13 2013 15:39 CecilSunkure wrote:
On March 13 2013 15:38 Chairman Ray wrote:
On March 13 2013 15:32 CecilSunkure wrote:
On March 13 2013 15:30 Chairman Ray wrote:
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?

I live in Redmond! Hehe. Thanks for the kind words, I do appreciate it. So after the interview while in Seattle we all actually went to a nice place called Samurai Noodle in the International District. Love that place. I actually went last night as well! Ooooh I want to go again


You live in Redmond? Sweet! I'm house-hunting there right now and will move down in May. I'll see you there!

Cool we can go out for lunch sometime

On March 13 2013 15:38 MysteryMeat1 wrote:
GL Cecil, I'm sure it will all work out.

Does your internship have to be in redmond or would seattle work as well?

Oh I'm okay with working somewhere else in the US. The Seattle area is ideal of course, since it's cheaper than moving (I'd have to pay two monthly rents if I moved). Like right now I'm working on a written test for a place in California! Don't want to say specifically where just yet though



I was just wondering, because my dad's best friend works at UW hospital as a programmer for coding and stuff. He says theres usually quite a few internships. I'll see him on Friday if you want me to ask about specifications and requirements for getting an internship.

Oh yeah totally! It can't hurt so sure why not. Thanks a lot!
MysteryMeat1
Profile Blog Joined June 2011
United States3292 Posts
March 13 2013 06:47 GMT
#10
On March 13 2013 15:45 CecilSunkure wrote:
Show nested quote +
On March 13 2013 15:42 MysteryMeat1 wrote:
On March 13 2013 15:39 CecilSunkure wrote:
On March 13 2013 15:38 Chairman Ray wrote:
On March 13 2013 15:32 CecilSunkure wrote:
On March 13 2013 15:30 Chairman Ray wrote:
Sorry you didn't get an offer, but don't give up, there are plenty of other great companies out there. I remember when I went to interview, one of the interns that got hired was a PhD student, so as a sophomore, you really have the short end of the stick. What else did you do while you were in Seattle?

I live in Redmond! Hehe. Thanks for the kind words, I do appreciate it. So after the interview while in Seattle we all actually went to a nice place called Samurai Noodle in the International District. Love that place. I actually went last night as well! Ooooh I want to go again


You live in Redmond? Sweet! I'm house-hunting there right now and will move down in May. I'll see you there!

Cool we can go out for lunch sometime

On March 13 2013 15:38 MysteryMeat1 wrote:
GL Cecil, I'm sure it will all work out.

Does your internship have to be in redmond or would seattle work as well?

Oh I'm okay with working somewhere else in the US. The Seattle area is ideal of course, since it's cheaper than moving (I'd have to pay two monthly rents if I moved). Like right now I'm working on a written test for a place in California! Don't want to say specifically where just yet though



I was just wondering, because my dad's best friend works at UW hospital as a programmer for coding and stuff. He says theres usually quite a few internships. I'll see him on Friday if you want me to ask about specifications and requirements for getting an internship.

Oh yeah totally! It can't hurt so sure why not. Thanks a lot!


before I talk to him, what languages can you program?
"Cause ya know, Style before victory." -The greatest mafia player alive
SiCkO_
Profile Joined September 2010
United States481 Posts
March 13 2013 07:10 GMT
#11
sounds pretty terrible, where are you at school cecil?
SKT Toss line Fighting! | Bisu, BeSt, By.Sun! |
udgnim
Profile Blog Joined April 2009
United States8024 Posts
March 13 2013 07:23 GMT
#12
bad interview experience, but sounds like you yourself did not perform poorly in the interview

just view it as a new experience and think of how you might have approached/responded to a question differently

you're going to have interviewers that stay pretty neutral in their demeanor, ones that will respond to how in-depth/interested you can answer questions, and ones that don't really want to interview because they'd rather focus their time elsewhere but must because it's part of their job responsibility

did you have only 1 interview that lasted 30 minutes? that seems pretty lacking.
E-Sports is competitive video gaming with a spectator fan base. Do not take the word "Sports" literally.
Cambium
Profile Blog Joined June 2004
United States16368 Posts
Last Edited: 2013-03-13 07:28:42
March 13 2013 07:27 GMT
#13
I couldn't help but feel you were looking down on your interviewer just because he's a PM. Just because he didn't know a specific thing in C++ (see *), it does not mean he's not technical. Even if he wasn't technical, he didn't need to be, as he could be evaluating your soft skills like your abilities to communicate clearly.

The fact that they are willing to interview you means they are willing to hire you. When he asked, 'when are you graduating', it was probably just a simple comment meant to break the ice, but instead, you took it as a reason to not hire you.

I think you need to change your attitude. Try finding faults in yourself rather than the company or the interviewers.

I know plenty of people who have received internship and full time offers from MSFT, myself included, and the process is definitely, by and large, fair.

(*)
I don't know what you mean by

Me in my head: Does he not realize that C++ has no built-in (functioning) RTTI? Did I mention the RTTI native to C++ doesn't work? Did he just mis-hear me?

Me: C++ doesn't have native introspection, so I did it myself.

How does RTTI native to C++ not work? The term 'RTTI' was coined by the C++ Standards. It doesn't go very far in implementing reflection, but it does what it is supposed to do: Run-Time Type Information.

C++ does have native introspection, it's called type introspection.

Going from your interviewer's train of thought, it would probably leverage RTTI, which will provide the basis for you to build your reflection framework. You would probably derive all your classes from a base class like Object in Java, and that class would provide methods like 'GetProperty', 'GetMethod', 'GetBaseClass', etc.
When you want something, all the universe conspires in helping you to achieve it.
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
Last Edited: 2013-03-13 07:45:27
March 13 2013 07:37 GMT
#14
On March 13 2013 16:27 Cambium wrote:
I couldn't help but feel you were looking down on your interviewer just because he's a PM. Just because he didn't know a specific thing in C++ (see *), it does not mean he's not technical. Even if he wasn't technical, he didn't need to be, as he could be evaluating your soft skills like your abilities to communicate clearly.

The fact that they are willing to interview you means they are willing to hire you. When he asked, 'when are you graduating', it was probably just a simple comment meant to break the ice, but instead, you took it as a reason to not hire you.

I think you need to change your attitude. Try finding faults in yourself rather than the company or the interviewers.

I know plenty of people who have received internship and full time offers from MSFT, myself included, and the process is definitely, by and large, fair.

(*)
I don't know what you mean by
Show nested quote +

Me in my head: Does he not realize that C++ has no built-in (functioning) RTTI? Did I mention the RTTI native to C++ doesn't work? Did he just mis-hear me?

Me: C++ doesn't have native introspection, so I did it myself.

How does RTTI native to C++ not work? The term 'RTTI' was coined by the C++ Standards. It doesn't go very far in implementing reflection, but it does what it is supposed to do: Run-Time Type Information.

C++ does have native introspection, it's called type introspection.

Going from your interviewer's train of thought, it would probably leverage RTTI, which will provide the basis for you to build your reflection framework. You would probably derive all your classes from a base class like Object in Java, and that class would provide methods like 'GetProperty', 'GetMethod', 'GetBaseClass', etc.

Well, I understand I sound pretty negative. Thanks a lot for the words, I appreciate hearing what others think. I'll do some more reflecting on what I myself could do to improve for my next interview.

I definitely did not think anything negative of the company right after the interview. I just felt like something was off. After reflecting and talking with my superiors I realized a lot more about the interview. It's especially strange because I've heard of some previous interviews earlier in the year from friends of mine, and they did very well (hired). There's a lot of mixed information flying around, and it's especially disheartening when the information company employees directly gave me was contradicting in multiple different instances.

The native type introspection doesn't really work, and is very compiler dependent. Some output is just plain broken. An attempt was made for C++ RTTI, but honestly everyone I know of just disables C++ RTTI in their builds and uses a custom system for type reflection.

On March 13 2013 16:23 udgnim wrote:
did you have only 1 interview that lasted 30 minutes? that seems pretty lacking.

It was 25 minutes
Cambium
Profile Blog Joined June 2004
United States16368 Posts
March 13 2013 07:43 GMT
#15
On March 13 2013 16:37 CecilSunkure wrote:
Show nested quote +
On March 13 2013 16:27 Cambium wrote:
I couldn't help but feel you were looking down on your interviewer just because he's a PM. Just because he didn't know a specific thing in C++ (see *), it does not mean he's not technical. Even if he wasn't technical, he didn't need to be, as he could be evaluating your soft skills like your abilities to communicate clearly.

The fact that they are willing to interview you means they are willing to hire you. When he asked, 'when are you graduating', it was probably just a simple comment meant to break the ice, but instead, you took it as a reason to not hire you.

I think you need to change your attitude. Try finding faults in yourself rather than the company or the interviewers.

I know plenty of people who have received internship and full time offers from MSFT, myself included, and the process is definitely, by and large, fair.

(*)
I don't know what you mean by

Me in my head: Does he not realize that C++ has no built-in (functioning) RTTI? Did I mention the RTTI native to C++ doesn't work? Did he just mis-hear me?

Me: C++ doesn't have native introspection, so I did it myself.

How does RTTI native to C++ not work? The term 'RTTI' was coined by the C++ Standards. It doesn't go very far in implementing reflection, but it does what it is supposed to do: Run-Time Type Information.

C++ does have native introspection, it's called type introspection.

Going from your interviewer's train of thought, it would probably leverage RTTI, which will provide the basis for you to build your reflection framework. You would probably derive all your classes from a base class like Object in Java, and that class would provide methods like 'GetProperty', 'GetMethod', 'GetBaseClass', etc.

Well, I understand I sound pretty negative. Thanks a lot for the words, I appreciate hearing what others think. I'll do some more reflecting on what I myself could do to improve for my next interview.

I definitely did not think anything negative of the company right after the interview. I just felt like something was off. After reflecting and talking with my superiors I realized a lot more about the interview. It's especially strange because I've heard of some previous interviews earlier in the year from friends of mine, and they did very well (hired). There's a lot of mixed information flying around, and it's especially disheartening when the information company employees directly gave me was contradicting in multiple different instances.

The native type introspection doesn't really work, and is very compiler dependent. Some output is just plain broken. An attempt was made for C++ RTTI, but honestly everyone I know of just disables C++ RTTI in their builds and uses a custom system for type reflection.



On a change of subject

How did you implement your reflection? Doing it through RTTI is definitely not ideal, did you do it via templates?
When you want something, all the universe conspires in helping you to achieve it.
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
Last Edited: 2013-03-13 07:51:04
March 13 2013 07:48 GMT
#16
Yeah! You can actually see most of what I have currently here. I use template metaprogramming for basically everything. There are some missing features I'll be adding this summer in my spare time: + Show Spoiler [FeatureList] +
-Lua reference and value type (only have reference)
-Serialization versioning
-Inheritance meta
-Manual force linking for all meta objects
-Auto pointer meta reg
-Not require default constructor
-MetaData bitfield support
-Archetype compression for level files
-Refactor meta with properties
-Meta type conversion cleanup
-Property gettor/settor with Reflection
-Run-time editting of enumerations
-Enumeration values linked to other enumeration tables
-VariantFunction currently does: jump call jump call, can be optimized to push call with template magic. Minimizes VariantFunction memory footprint too.
Aerisky
Profile Blog Joined May 2012
United States12129 Posts
March 13 2013 07:55 GMT
#17
Whoa, I've read some of your past blogs and awww it's a shame they didn't decide to take you on. I don't code myself, but you REALLY look like you know what you're doing lol, I'm sure that in the long run you'll be snapped up. Pretty interesting story and whoa, all that technical information is daunting yet looks pretty cool
Jim while Johnny had had had had had had had; had had had had the better effect on the teacher.
trashman
Profile Blog Joined June 2011
United States113 Posts
March 13 2013 07:58 GMT
#18
Sorry to hear it didn't work out for you. For what it's worth, you're probably right that you didn't get hired because you were a sophomore. I talked to a Microsoft recruiter at my university's CS career fair maybe 6 weeks ago and he said that essentially they had already filled most of the slots for their internship program for sophomores and were really only looking for juniors and really, truly exceptional sophomores. Not that that doesn't make getting turned down feel any less shitty, but...
Kick at the rock, Sam Johnson, break your bones: / But cloudy, cloudy is the stuff of stones.
fight_or_flight
Profile Blog Joined June 2007
United States3988 Posts
March 13 2013 08:07 GMT
#19
I've heard bad things about working for microsoft. They expect many hours, weekend work, etc. It depends on the group though. Everyone is competitively ranked with their peers. So there's this situation were you've got a lot of really smart people trying to figure out how to make themselves look good and others look bad.

Just what I've heard.
Do you really want chat rooms?
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
March 13 2013 08:40 GMT
#20
All the nontrivial stuff in C++ is done using template metaprogramming, how is that even a question?

Without having looked deeply into your documentation, it sounds like you have to register metadata about all your classes manually. So it won't work with classes that you didn't develop yourself, and obviously also has the issue of having to maintain 2 pieces of code when you want to modify a class? Doesn't seem like it would be easily avoidable, but still it's not exactly most convenient. I guess the only option to avoid redundant information would be to think of a method to have the reflection system produce the class itself while at the same time reading the metadata from a class metaspecification... or something like that. That's a lot of meta though.


In any case; the world doesn't always make sense. In fact it rarely does. Just try again.
If you have a good reason to disagree with the above, please tell me. Thank you.
1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Map Test Tournament
11:00
TLMC #15: Playoffs
MaxPax vs Ryung
TBD vs Classic
Zoun vs YoungYakov
Reynor vs Cure
ByuN vs Lambo
TBD vs Clem
IndyStarCraft 159
3DClanTV 43
WardiTV0
LiquipediaDiscussion
CranKy Ducklings
10:00
Sea Duckling Open #139
CranKy Ducklings55
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 419
Harstem 218
IndyStarCraft 159
Lowko94
Rex 81
Railgan 52
StarCraft: Brood War
Britney 32878
Sea 4473
Horang2 2894
Rain 1878
Shuttle 1743
Flash 1027
Hyuk 924
actioN 500
BeSt 364
Light 312
[ Show more ]
firebathero 308
EffOrt 265
Mini 209
Last 184
Leta 164
Soulkey 149
ZerO 137
sorry 131
Killer 55
Shine 53
Mind 37
Noble 37
Mong 36
zelot 33
Free 22
Yoon 22
soO 19
Movie 18
Backho 18
Sharp 17
Sacsri 12
HiyA 12
SilentControl 10
Hm[arnc] 8
ivOry 7
Icarus 4
Dota 2
XcaliburYe572
Heroes of the Storm
Khaldor230
Other Games
summit1g3611
singsing2573
B2W.Neo574
DeMusliM192
RotterdaM165
Fuzer 97
Mew2King44
MindelVK16
ZerO(Twitch)13
Organizations
StarCraft 2
ComeBackTV 648
Other Games
BasetradeTV53
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• iHatsuTV 9
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2609
• Stunt593
Upcoming Events
OSC
3h 19m
[BSL 2025] Weekly
6h 19m
Safe House 2
6h 19m
Sparkling Tuna Cup
22h 19m
Map Test Tournament
23h 19m
TBD vs Spirit
TBD vs herO
OSC
1d
IPSL
1d 7h
Bonyth vs Art_Of_Turtle
Razz vs rasowy
Afreeca Starleague
1d 22h
Barracks vs Snow
Afreeca Starleague
2 days
Soma vs Bisu
The PondCast
4 days
[ Show More ]
CranKy Ducklings
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
Maestros of the Game
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
WardiTV TLMC #15
EC S1
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.