Linked by Thom Holwerda on Mon 24th Sep 2012 15:07 UTC, submitted by MOS6510
General Development "I've been programming professionally for about 3 years at this point, and I've noticed some interesting patterns in other programmers I've worked with. One of the key differentiators among programmers is motivation. I'm not referring to an individual's passion to simply be successful in their career, but rather the type of work they want to pursue. The thing they want to do with computers every day, the types of problems they are interested in solving."
Thread beginning with comment 536412
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Sad Truth
by phreck on Tue 25th Sep 2012 12:47 UTC in reply to "RE[2]: Sad Truth"
phreck
Member since:
2009-08-13

What would that bug be that would imply that most C++ implementations are wrong?

Here is the GNU implementation, located in bits/stl_algobase.h (an implementation detail of the head "algorithm"):

template<typename _Tp>
inline const _Tp&
max(const _Tp& __a, const _Tp& __b)
{
// concept requirements
__glibcxx_function_requires(_LessThanComparableConcept<_Tp>)
//return __a < __b ? __b : __a;
if (__a < __b)
return __b;
return __a;
}


And it is already sadism if you laugh about the product of someone's intellect, even if you do it behind closed doors, which would imply uncandidness, and possibly a breach of confidentiality regulations. But of course that is not my problem, so I stop lamenting about that.

Reply Parent Score: 1

RE[4]: Sad Truth
by JeeperMate on Tue 25th Sep 2012 13:01 in reply to "RE[3]: Sad Truth"
JeeperMate Member since:
2010-06-12

That bug is your homework. Test the code thoroughly, and you'll find it very quickly.

Confidentiality only applies to personal information and all the documents sent to me or to the company. It doesn't apply to codes written by anyone during the interview. I haven't disclosed any bit of personal information pertaining to that guy, now have I?

Reply Parent Score: 1

RE[5]: Sad Truth
by phreck on Tue 25th Sep 2012 13:58 in reply to "RE[4]: Sad Truth"
phreck Member since:
2009-08-13

Why are you so shy to explain what's wrong? Seriously, if you would be a teacher, as you try to impose now, you'd be a really bad one.

So let's accept there is a bug depending on integral representation.

The other bug of course is _your_ use of "int", apart from other issues.

---

About the confidentiality: Seriously, I don't know how you define it in your company. But that code is indeed something personal, as are his answers or his resume. Additionally, you've screwed that guy before the others, and possibly no one who opens his/her own company will now ever hire him, or upon changing the job give a recommendation to the boss.

I don't know. The mills of data are patient.

It boils down to: What business do non-HR ppl have with documents from closed-room-interviews? Why use the illusion of a closed room at all (I assume that by the timeline you imply)? Well, let me break your illusion of you being "better".

I'd really like to ask which company that is you work at, so I can put it onto my "never waste money/time on that" blacklist, neither job-wise, nor business-wise.

Edited 2012-09-25 14:00 UTC

Reply Parent Score: 1