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 536348
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Sad Truth
by feydun on Tue 25th Sep 2012 00:43 UTC in reply to "Sad Truth"
feydun
Member since:
2012-02-27

I don't really use C++ but that seems a bit low-level - why assume 32-bit signed with a two's complement representation - or rounding errors from roots - when you could just multiply by -1 if <0 which would also work with doubles or (unexpected) unsigned and wouldn't tie you to a particular (albeit standard) low-level representation? Then when the program evolves some time later, with different developers, they don't have to chase obscure assumptions. I guess that doesn't apply here though else the code would just be an abs function :-)
I do know that the point you're making is totally true. I think it's because you can't learn programming by applying it to toy problems, no matter how much computer science you know. You have to go through the bitter experience of getting real projects to work.

Reply Parent Score: 2

RE[2]: Sad Truth
by JeeperMate on Tue 25th Sep 2012 10:15 in reply to "RE: Sad Truth"
JeeperMate Member since:
2010-06-12

The point of these types of questions is to see whether an applicant can think of an efficient solution to a problem using a language he/she is most familiar with. I could've asked him to write a code for something more serious, but really if one couldn't come up with a simple solution to a simple problem, I doubt he/she could tackle more complicated problems. I've seen this pattern repeatedly.

Reply Parent Score: 2