Slashdot Mirror


How To Show Code Samples?

Todd writes "I've been looking around at 'help wanted' advertisements for programming jobs, and almost all of them demand that you not only have professional experience, but also that you show samples of your work. This got me wondering; with the work product, trade secret, and non-disclosure laws/agreements, how exactly can you show work that you've done in a professional capacity to a prospective employer without violating the privacy of the company for which the code was written? For instance, I can't say I've written many BASH scripts (at least, not large ones) for myself personally, but the assortment of such scripts written for my current job is wide and varied indeed. I can't very well just deliver these scripts, or even small portions thereof, to third parties to help demonstrate my scripting prowess. With that in mind, what am I supposed to show them?"

485 comments

  1. Be smart by snoyberg · · Score: 5, Funny

    what am I supposed to show them?

    Someone else's code

    --
    Thank God for evolution.
    1. Re:Be smart by clarkkent09 · · Score: 5, Insightful

      Funny, but it's a good point. How do the employers know that the candidate is showing his/her own code? Even if they are, most likely the code for show will be polished to perfection over however long that takes, and probably not representative of their code while working on a deadline. Far better to give a test during the interview and have your best engineers present to evaluate the candidate

      --
      Negative moral value of force outweighs the positive value of good intentions.
    2. Re:Be smart by Anonymous Coward · · Score: 1, Informative

      How indeed...

      http://www.blackducksoftware.com/protex

    3. Re:Be smart by Anonymous Coward · · Score: 0

      how do you get the code from that poor guy?

    4. Re:Be smart by Anonymous Coward · · Score: 2, Insightful
    5. Re:Be smart by PietjeJantje · · Score: 2, Informative

      By googling for bits of the code. Last time I had to hire a web developer for my company, 50% showed code that was copied from elsewhere.

    6. Re:Be smart by p0tat03 · · Score: 4, Insightful

      In-interview tests are just as ineffective as code samples. For one thing, you would allow your engineers much more time under far less stressful conditions when they write their code, with access to many more resources (references, books, colleagues, etc.). The code that they're pumping out in an interview is also not totally indicative of their real skill.

    7. Re:Be smart by Anonymous Coward · · Score: 3, Insightful

      If you've written that many bash scripts you should be able to whip up a few examples really quickly to show people. Shouldn't take more than a few hours and you'll probably have fun doing it :)

    8. Re:Be smart by ed.markovich · · Score: 5, Insightful

      Funny, but it's a good point. How do the employers know that the candidate is showing his/her own code? Even if they are, most likely the code for show will be polished to perfection over however long that takes, and probably not representative of their code while working on a deadline. Far better to give a test during the interview and have your best engineers present to evaluate the candidate There would still be value in this. It's understood that your code would be better than your average code in this case but that's ok. If the code submitted is good, it will mean one or more of the following: 1. You know what good code looks like. 2. You understand that the job application process is important and took the time to make code good. 3. You possibly gave it to someone else to review. Trust me, it's rare enough that someone would be good enough to do that. Most people would submit crap even given all the time in the world to polish it off. The ones who manage to submit a good sample would still form a better candidate pool, no matter what technique they used.

    9. Re:Be smart by Anonymous Coward · · Score: 0

      You must be new here.

    10. Re:Be smart by J3rryken · · Score: 0

      in my expierience you cannot give away code that you have written for another company in most cases that code is copyright protected and kept secret a company that request code that you have written for other companies is just one step towards a lawsuit because: 1) a company that request such code is a cheap company with cheap exuses and most likely they will use that code 2) the company has no clue about programming

    11. Re:Be smart by Anonymous Coward · · Score: 5, Insightful

      How do you know that those other sites had not copied your interviewees code?

    12. Re:Be smart by castoridae · · Score: 4, Insightful

      Which is how any real developer on the job worth his salt would code! I don't want any of my developers wasting their time writing code that they could find that easily on the web. Their job is to integrate and polish that code (same thing they did for the interview) and to write only code that is really unique and proprietary.

      (Obviously in practice there are a lot of cases where its just faster to write something that to find the exact right code scavenging the web, but I think the theory stands)

    13. Re:Be smart by Anonymous Coward · · Score: 2, Insightful

      Maybe they could... ask you to explain part of it?

    14. Re:Be smart by Dragonslicer · · Score: 4, Insightful

      That's why you give tests that are short (maybe ~10 lines of code) that demonstrate reasoning and problem solving. You also don't necessarily expect perfect syntax, depending on the level of skill in the particular language you're looking for.

    15. Re:Be smart by XopherMV · · Score: 4, Interesting

      On top of that, the in-interview tests are typically problems that are unrelated to the majority of the work out there. If the job is server-side Java, there is no point to asking the candidate to manually reorder Strings, implement a linked-list, or twiddle bits. If the candidate actually did any of that on the job or any of their previous jobs, they would or should have been fired. Java has sufficient mechanisms for all of those built into the platform. So, the last time the candidate encountered any of that was either in school or in their last interview. If an interviewer turns down someone because the interviewer asks the one question the candidate hasn't heard or thought in 10 years, then the candidate is not the stupid one.

      What would asking those questions tell the interviewer anyway? Almost nothing. The strength of the engineer's ability to create an algorithm does not indicate their ability to do the job. Why? Because creating algorithms is a miniscule part of the job with all the other technologies currently being used.

      Take the server-side Java example. An engineer needs to know how to put together a SQL script, Hibernate XML, Java business class, JUnit test, Struts entry, and JSP page with JSTL code. Add to that the ability to document in Word and Visio. Add to that the ability to create high-level architecture. The interview question to implement quicksort has no bearing on the job, particularly when that solution can be looked up in less than a minute anyway.

    16. Re:Be smart by Anonymous Coward · · Score: 0

      You must be new here.

      Nah, he's been around longer than slashdot.

    17. Re:Be smart by PietjeJantje · · Score: 4, Insightful

      Sure, but that's another issue alltogether which is true for some cases and not true for others.

      The question was "show me some of your code, something you programmed", not "show me some of the code you reused, with attributions taken away and your name on top" to show off your time saving skills. Also, the guys who do this, they're not exactly..uhm..code polishers if you catch my drift.

    18. Re:Be smart by ps2os2 · · Score: 1

      First off I don't think I would never ask a person for an example of their code. Having said that there are questions you can ask about certain languages that will show rather well if the applicant is proficient. If the person is a good story teller just let him/her run with it and then ask specifics. That usually cuts the weed from the chaff. If you are well versed let the person tell you a story on how they solved a really difficult problem. That will tell you a lot about the candidate and their problem solving abilities. You can also get a chance to hear a BS story (if they aren't qualified) and then you know instantly if they are qualified or not.

    19. Re:Be smart by Stalus · · Score: 5, Interesting

      Last time I interviewed, Intuit and Microsoft mostly asked me ridiculous problems like string word reversals and such, as if I had the C string library committed to memory. I was particularly amused with the Microsoft questions because I had to write a replacement for their CString library four years earlier because it didn't handle DBCS well at the time.

      nVidia asked me higher level problems that required much more thought, and was actual problem solving rather than how recently I had used the particular library that the interviewer was working on that day. I wasn't really surprised, but was somewhat amused when I received an offer from nVidia, but not from MS or Intuit.

      I ended up taking a better offer elsewhere, but I found the difference in interview styles very striking.

    20. Re:Be smart by tom's+a-cold · · Score: 5, Interesting

      Yeah, it's just like standardized testing. It's irrelevant because the conditions imposed by the testing scenario are more important to the tester than the real demands of the job. So what ends up happening is an obnoxious rehash of a CompSci course. Anyone who does that to you is a head-wedged bureaucrat. Interviewing's hard. More than anything this is a sign of laziness or incompetence on the part of the interviewer. Probably means that they're also an inept manager.

      I refuse to comply with interview bullshit. I push back when asked to do things that I think are ridiculous, and have on occasion walked out. It's harsh, but the only way that they'll learn... or at least the only way to keep your self-respect.

      Hasn't cost me anything either. I was voluntarily unemployed once for a two-week period. Other than that, 28 years fully employed. So don't assume you have to put up with that crap in order to get a job.

      --
      Get your teeth into a small slice: the cake of liberty
    21. Re:Be smart by Splab · · Score: 1

      You just have to give the candidate the assignment with them home and have them turn it in after, say 24 hours, or whatever matches the complexity of the assignment. That way you can see how he or she works in a more normal setting.

    22. Re:Be smart by LifesABeach · · Score: 3, Interesting

      When interviewing someone for a software position, I have always used this question as an ethics question. If the person voluntarily shows me their code from a company they have worked with, they are rejected because I cannot trust them with the code of the company I work for. My response to those who ask me about my coding is to say, "I have no problem showing you the coding I have done for others. If you need to, I will give you the phone number of that past company and you can ask them to see the code they purchased from me."

    23. Re:Be smart by Anonymous Coward · · Score: 0

      Congratulations, you're a dumbass! Next time, please take the time to at least read the post to which you are replying.

    24. Re:Be smart by Anonymous Coward · · Score: 4, Insightful

      It is important to ask yourself as the interviewer, "what am I trying to learn by asking this question?"

      I think the naive answer to that question for an algorithms question is "I'm looking for good server-side code."

      No, I prefer that the candidate has not looked at algorithms problems in some time. What I'm looking for by asking these supposedly useless problems is:
        - the ability to write rudimentary code
        - problem solving
        - how well can I work with this person solving a problem to which they may not know the answer
        - is the solution direct or did they jump through unnecessary hoops
        - or if they jumper through hoops did they identify that they'd like to revisit and refactor the code
        - how well to the take to help, hints, and prodding? offended, reasonable, push-over?
        - can they write readable code that follows coding standards (I've had candidates that don't even follow they're own coding standards in the same block of code, that's just sloppy)

      In the end, it almost doesn't matter if they solve the problem. I'm more interested in how they attempt the solution.

    25. Re:Be smart by Richard+W.M.+Jones · · Score: 5, Interesting

      I have found that asking interviewees to do some (simple) coding tasks has been useful, but it's not necessarily about whether they succeed or fail at the task.

      We set up a computer running Linux and projector in the room and asked candidates to write code. Many of the candidates turn out to have no idea how to use the Linux command line, or don't know what a man page is, or how to run the compiler (and this is after extensive screening of their CVs already for a job which specifies Linux skills). This becomes very obvious in the practical test, and such people can be quickly rejected.

      Without the practical test we'd have to rely on CVs giving reliable answers to these things ["10 years experience with Linux" etc] and on asking the candidates what they know and relying on honest answers back.

      Rich.

    26. Re:Be smart by Anonymous Coward · · Score: 0

      [[what am I supposed to show them?

      Someone else's code

      Better yet, show 'em yer ass.

    27. Re:Be smart by Linker3000 · · Score: 1

      Print out your code samples in Wingdings - it's a tried and tested technique.

      --
      AT&ROFLMAO
    28. Re:Be smart by forgotten_my_nick · · Score: 2, Insightful

      "I don't want any of my developers wasting their time writing code that they could find that easily on the web."

      Your opening yourself for serious litigation issues if your developers for your application are just nicking code from the net. Finding code to learn how to do something is different to copying code verbatim.

      SCO vs IBM went the way it did because IBM legal are strict on what code goes into applications and its history.

    29. Re:Be smart by lgw · · Score: 2, Insightful

      Microsoft once hired top-tier programmers, and their reputation for skill in interviewing dates from that time. They now have average programmers and ask the usual stupid questions.

      For a C/C++ programmer, basic linked list and string problems are needed to ensure the candidate actually knows how to use pointers, but I don't think Microsoft does any C/C++ programming outside the kernel team any more, which makes such questions even more ridiculous.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    30. Re:Be smart by lgw · · Score: 3, Insightful

      It is important to ask yourself as the interviewer, "what am I trying to learn by asking this question?"

      I think the naive answer to that question for an algorithms question is "I'm looking for good server-side code."

      No, I prefer that the candidate has not looked at algorithms problems in some time. What I'm looking for by asking these supposedly useless problems is:
          - the ability to write rudimentary code
          - problem solving
          - how well can I work with this person solving a problem to which they may not know the answer
          - is the solution direct or did they jump through unnecessary hoops
          - or if they jumper through hoops did they identify that they'd like to revisit and refactor the code
          - how well to the take to help, hints, and prodding? offended, reasonable, push-over?
          - can they write readable code that follows coding standards (I've had candidates that don't even follow they're own coding standards in the same block of code, that's just sloppy)

      In the end, it almost doesn't matter if they solve the problem. I'm more interested in how they attempt the solution.

      Giving the AC comment a boost - whether an algorithm question is silly or not depends on what the interviewer is actually looking for.

      I ask an algorithm quetsion that just about everyone figures out, but most take about 30 minutes to work through all of my related questions. Obviously, getting the answer isn't the filter here, it's how well do we work together solving a problem in a stressful situation. How much initiative does the candidate take, and how easily does he see/admit it when he's wrong.

      The guys who go down some rat hole and can't admit they're wrong, even in an interview with the interviewer hinting strongly that this is the worng direction, are the worst sort of asshole to work with, and it's worth the time just to screen those guys out.

      But really I'm mostly asking to see what part of the problem the candidate spends his time on - inexperienced guys spend time talking about the coding details, more senior guys on exploring what problem I *really* want them to solve, and top-notch guys on ensuring their solution is scalable and versatile (and we spend most of the time discussing how you evaluate the scalability of a solution, what actually matters to performance in the real world, etc).

      --
      Socialism: a lie told by totalitarians and believed by fools.
    31. Re:Be smart by TheRaven64 · · Score: 1

      Any code you find on the net that is not explicitly placed into the public domain is copyrighted, and unless if has an explicit license attached to it then you do not have the legal rights to do anything with it other than read it (and maybe run it, depending on your jurisdiction). If you don't want to open yourself up to massive legal liability, then any code you copy should be explicitly tagged as such and have the license checked by your legal team as compatible with the rest of your project. If the code isn't explicitly public domain, BSDL or MITL, it's probably cheaper to just write it again yourself.

      --
      I am TheRaven on Soylent News
    32. Re:Be smart by I+cant+believe+its+n · · Score: 1

      Perhaps you are a better programmer than I am, but I often implement linked lists.

      I build graphs of objects where each part handles a small part of a larger operation. That is, the entire complex hierarchy works smoothly together, because all the primitives are easy to understand in isolation. (Not just linked lists, branching allowed etc...)

      When implementing encryption algorithms, I frequently get to use the binary operators. Why would this be a bad thing? I would say, not knowing them well is probably not significant, it just means you have not worked with them. On the other hand, I think that it is a positive indicator when you find that someone knows them and is interested enough to learn.

      Those where my 2 cents (EURO btw).

      --
      She made the willows dance
    33. Re:Be smart by IceFox · · Score: 1

      What if you work for an open source company? Would you reject code I have done in Qt?

      --
      Do you changes clothes while making the "chee-chee-cha-cha-choh" transformation sound?
    34. Re:Be smart by easyTree · · Score: 1

      Jeez dude. Chill...

    35. Re:Be smart by boldtbanan · · Score: 1

      I totally agree that the interview needs to test skills related to the position. However, if the interviewee can't figure out how to reverse a string, that shows that they have some pretty shitty problem-solving/programming skills. That question is designed to be the one question in an interview that everyone gets right and is usually asked very early on to make the interviewee more relaxed because hey, they got one right.

      Not all of the questions asked in an interview intended to test your programming ability.

    36. Re:Be smart by magarity · · Score: 1

      In-interview tests are just as ineffective as code samples
       
      I've found that in-interview tests are the sure-fire way to weed out the people who've padded their resumes with skills they don't actually have. It is VERY effective - oh, wait, the director then hires a bozo who bombed the test anyway and had to fire the fool after he spent a couple of months slowly letting everything go to heck... so maybe it's not effective. Either that or I'm still bitter.

    37. Re:Be smart by Falstius · · Score: 1

      Short algorithms are trivial. What you need to evaluate is the applicant's ability to structure and organize their code. Someone who writes a wicked quick-sort may not have any clue how to put together a significant program for maintainability and expandibility. I know my first few projects were a mess because I was still figuring that part out.

      Code samples and a presentation and discussion of how the code is organized are a good way to evaluate this. The poster's question of how to get non-trivial code that it is okay to show other companies is completely valid.

    38. Re:Be smart by Anonymous Coward · · Score: 0

      Anonymous Coward? He's something of a Slashdot legend!

    39. Re:Be smart by darkpixel2k · · Score: 1

      Someone else's code

      No, that's too easy. First, think up a really super cool idea. Second, make some sort of web service implementing that really super cool idea. Third, make up some cool name like twitter, meebo, digg, xylax, or whatever. Finally, make it open source and then tell the person interviewing you to go download the code and look for himself. Oh--and tell him you get more hits per day than Google.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    40. Re:Be smart by RobBebop · · Score: 1

      Many of the candidates turn out to have no idea how to use the Linux command line, or don't know what a man page is, or how to run the compiler (and this is after extensive screening of their CVs already for a job which specifies Linux skills). This becomes very obvious in the practical test, and such people can be quickly rejected.

      Few and far between do I ever have to think about how the compiler works. I suppose I could write a very simple program with a "main" function and then compile that to print some fairly trivial output, but in the industry I have always had the build system(s) (make and VxWorks alternatives) get established by experts. In that case, "using the compiler" because as simple of button pressing.

      To be perfectly honest though, I completely agree with your 10 minute test to validate whether "10 years of Linux" is true or exaggerated. I had "Perl" on my Resume and was asked about some fairly simple Regex's that I didn't know because I only use Perl for fairly trivial programs. I doubt that failing that part of the interview was what killed my chances at that job, but I certainly wasn't what they were looking for if an extensive knowledge of Perl was required.

      --
      Support the 30 Hour Work Week!!!
    41. Re:Be smart by Anonymous Coward · · Score: 0

      Thanks. You are precisely the sort of person we don't want for any of our jobs.

    42. Re:Be smart by XopherMV · · Score: 1

      Anyone implementing linked lists in Java should be fired. You are wasting time and energy on a problem that is already supported by the platform in multiple ways. And, you are making more work for people in the future who are going to be supporting your code. Further, you are also potentially adding bugs.

    43. Re:Be smart by Anonymous Coward · · Score: 1, Interesting

      I remember this discussion the first time it happened in the 1990s. Back then, all you had in the language was the Vector and it was brutally synchronized to boot. Over the years, the language slowly but surely "devolved" to include more primitive, yet higher performing collection types. At the same time a formalization evolved around generalizations of the notion of collections which made them much more powerful.

      So I'd rephrase your advice a little: "Anyone implementing linked lists in Java should be fired, or put in charge of JDK 1.8"

    44. Re:Be smart by Anonymous Coward · · Score: 0

      Really? What are office and exchange written in? Or visual studio? Or any of there other desktop apps?

    45. Re:Be smart by Free+the+Cowards · · Score: 1

      When I interview people for the security force, I always ask them to bring in a dead body. Anyone who does is rejected because I can't trust them to follow the law.

      --
      If you mod me Overrated, you are admitting that you have no penis.
    46. Re:Be smart by Anonymous Coward · · Score: 0

      Oh, is it my hit?

      **bubbly bubbly bubbly bubbly**

      Next?

    47. Re:Be smart by Anonymous Coward · · Score: 0

      Really? What are office and exchange written in? Or visual studio? Or any of there other desktop apps?

      PHP

    48. Re:Be smart by Anonymous Coward · · Score: 0

      For one thing, you would allow your engineers much more time under far less stressful conditions when they write their code, with access to many more resources (references, books, colleagues, etc.).

      I dunno, I got my last programming gig after a I broke a Government DBase (popped the firewall, jumped the ipchains) whilst being blown and with a gun held to my head. Funny though, it's the music I remember best ..

    49. Re:Be smart by BrokenHalo · · Score: 1

      Maybe employers need to reinstate the archaic "aptitude tests" to sort the wheat from the chaff. I remember doing at least one such back in the early fourteenth century when I was first getting into EDP (as it was called then - I don't think the term "IT" didn't gain currency until at least 10 years later). I think the test I did was written by someone at IBM.

      And yes, the informed reader will observe that I am indeed an old fart. But I'm not quite dead...

      ;-)

    50. Re:Be smart by BrokenHalo · · Score: 1

      The question was "show me some of your code, something you programmed"

      Back when I used to do this for a living (I have since moved on to other pastures and cud hitherto unchewed) nobody was interested in looking at my nice, pretty code. One catch-all test used to be to present me (or any aspiring programmer) with a binary (i.e. no source, since at the time it was not uncommon to work with objects to which the source code was a mere legend, but that's another story) which was to be patched to suit a particular purpose.

      I suspect there might not be very many graduates able to do that any more, which I think is a bit sad. Geekdom has gone the way of nostalgia. It just isn't what it used to be... ;-)

    51. Re:Be smart by Anonymous Coward · · Score: 0

      Do a decent freeware or shareware, put it out onilne (fun project in & of itself usually + helps to "sharpen the sword" too, by keeping you in practice coding, in times when you're not @ work on a job, & between jobs etc.)...

      That is what I use, in those times when folks interviewing me request such things, & generally, it works (especially IF the job concerned deals in said language &/or tools that were used to build said application in freeware/shareware)

      (That's for local to system based apps... & if they ask for say, ASP.NET stuff? I point them to websites I built that use that for various companies)

      Just some ideas for you - heck, do a GOOD enough shareware/freeware? You may find out that THAT can become your job or one of them - you never know when your stuff could be 'snapped up' as a commercial product.

    52. Re:Be smart by hesaigo999ca · · Score: 1

      I sometimes like to just tell them to pick any type of problem, where I will go on the net find what they are looking for and explain to them what the code does.
      This applies to those few lines of code or more

      Then from there not only do they see I can pick up any code and now what is happening, but also should they need something done quick for a deadline I know where to get the code fast to then reconfigure properly (sourceforge you the true hero!)

    53. Re:Be smart by greywire · · Score: 1

      I've actually been tested in this fashion for more than one job.

      My previous job, they had several developers come in and ask me pretty good questions about objected oriented design and features in the latest languages etc, as well as giving me a written test where I had to write code snippets and such.

      In another recent interview, they asked me what my general solution to a problem would be. I told them my answer, then they told me what they were planning to do, and I told them "why use XML in database BLOBS when you can do the same thing faster and more storage efficient using relational tables". I didn't get that job. Thankfully.

      Sometimes the tests work good for the prospective employee as well -- you don't want to work for people you know aren't going to listen to your ideas (or worse, even understand what you are talking about).

      --
      -- Senior Software Engineer, Attorney appearance services, locallawyerapp.com.
    54. Re:Be smart by I+cant+believe+its+n · · Score: 1

      I am not adding my own classes to the collections framework, but I do suspect that this is what you think.

      In my case these are components of a language for the java platform, where each component represents an operation. By traversing the linked components, all the code will be exercised, but you still have the option of dynamically altering this structure. If there was no linked list, encapsulation would be broken and the system would be a whole lot harder to understand.

      I should probably have used the wording prime components instead of just primitives since I am refering to the low level components of this project, not of java primitives which may have led your thoughts in the wrong direction.

      Do you still think I should be fired?

      --
      She made the willows dance
    55. Re:Be smart by dieresis · · Score: 1

      Once, when I was myself a fairly junior Java developer, I gave a candidate what I thought was a rather basic exercise, geared to a level of knowledge that could be gleaned from the first few chapters of most introductory Java books: take two integers from the command-line arguments and print their sum to the standard output. If possible exceptions were handled, even better, but printing a sum would have been enough. I supplied the candidate with a machine, a simple text editor, the Java SDK, and the standard API documentation.

      I left him alone to work on it for 45 minutes. Although he claimed to have worked with Java in his last job, he had no idea how to proceed.

      I think it's entirely reasonable to expect an experienced programmer to have basic skills in reading documentation, writing simple code, and running programs on the target platform.

    56. Re:Be smart by Anonymous Coward · · Score: 0

      PHB

      FTFY

  2. Good Point by Dallas+Caley · · Score: 5, Funny

    Like the other day, i was interviewing for a job and i said, "Well you know i did all the coding for Amazon.com right? but you see i can't show any of it to you because of the non-disclosure agreement"

    For some reason i still haven't gotten a call back...

    1. Re:Good Point by hedronist · · Score: 5, Funny

      Not to one-up you :-), but we use to have the NSA as customers (not something I'm particularly proud of, but they were about the only people that understood the need for similarity-based full-text retrieval in 1987, so ...) Anywho, they are the perfect no-comment referral customer because they will neither confirm nor deny that they even know you, let alone use your software. The funny thing was that people would take our word for it because they knew the NSA wasn't going to say anything.

    2. Re:Good Point by Anonymous Coward · · Score: 1, Interesting

      I'm one-up-ing you :-), and venting.

      I was hired doing an IT job where my employer (a very large IT company, you definitely know it's name) deny my existence. Yeah, I checked. I pretended to be a prospective employer checking my work experience.

      The job was very important. Very important. I don't know how else to emphasize the importance without telling anything. We were accompanied by bodyguards to protect our lives.

      Anyway, it remains a permanent hole in my work experience.. I have this experience and knowledge but I can only share them with limited people.

      It's really nice that in slashdot I can post anonymously.

    3. Re:Good Point by rhendershot · · Score: 2, Funny

      For some reason i still haven't gotten a call back...

      probably. I would say, because you refer to yourself in the lower-case. ;)

    4. Re:Good Point by TheRaven64 · · Score: 1

      I've only worked on one project that was classified, and it's very convenient since it's some of the worst code I've ever written and I have a good excuse for not showing it to anyone.

      --
      I am TheRaven on Soylent News
    5. Re:Good Point by 4D6963 · · Score: 1

      Wait, what kind of IT job for a *company* we know would involve ultra-high security and bodyguards? Sounds like BS.

      --
      You just got troll'd!
    6. Re:Good Point by Just+Some+Guy · · Score: 4, Funny

      That is so going on my resume within the next 5 minutes. Thanks for the tip!

      --
      Dewey, what part of this looks like authorities should be involved?
    7. Re:Good Point by Anonymous Coward · · Score: 0

      Heh, I said too much :-).

      Anyway, be assured that the project was for a greater good.

    8. Re:Good Point by AndyCR · · Score: 2, Funny
      --
      If there's anyone I hate more than stupid people, it's intellectuals.
    9. Re:Good Point by Sleepy · · Score: 1

      You could Google for all the companies feeding at the Iraq war trough.
      Just pick one.

    10. Re:Good Point by Anonymous Coward · · Score: 0

      Dallas, I read slashdot too - you're fired!

      - Your Boss

  3. brainfuck? by gardyloo · · Score: 3, Funny

    Just translate everything to brainfuck, and send that sourcecode. Problem solved.

    (Some people claim that this brilliant---nay, genius---solution will just make things harder for you, but you can never tell until you try, right?)

    1. Re:brainfuck? by Tablizer · · Score: 1

      Just translate everything to brainfuck [language]

      That's what they used to print your rejection letter.
             

    2. Re:brainfuck? by Bill,+Shooter+of+Bul · · Score: 1, Insightful

      Stole my joke. I'd suggest my new favorite language Malbolge.

      Please don't mod up, I'm just stealing the reference from david.given

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    3. Re:brainfuck? by v1 · · Score: 3, Insightful

      being able to properly translate anything large to brainfuck will either guarantee you the job, or get you tossed out of the office by the interviewer, depending on the job.

      --
      I work for the Department of Redundancy Department.
    4. Re:brainfuck? by Orion+Blastar · · Score: 1

      Bryce, sometimes you really are a funny guy. This seems to be one of those times.

      But managers don't really use brainfuck, they use manager speak which is a modified VBA macro language for Microsoft Word that automatically writes the rejection letters in a canned response that can't be seen as anything intelligent.

      So you get things like:

      "Dear $Programmer,

      We would like to hire you, but find that you are overqualified for the job of programmer/analyst. If we find a position which suits your resume, we will contact you about it.

      Regards,
                      $BraindeadMBAManager"

      Which is basically another way of saying they won't hire you because you post too much on Slashdot about management and they are afraid you'll spend most of they day surfing on the Internet than getting work done.

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    5. Re:brainfuck? by moosesocks · · Score: 5, Funny

      If you really want to throw them in a tizzy, do it in Whitespace (BF implemented using spaces, tabs, and carriage returns.)

      Of course, turn it in as a printed copy.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    6. Re:brainfuck? by TrashGod · · Score: 1

      Just saying the name can open doors -- doors marked exit!

    7. Re:brainfuck? by HeroreV · · Score: 1

      Any good programmer attempting to translate a large program into Brainfuck would not try to do it manually. There are already programs which can translate various languages into Brainfuck (1 2 3 4). It should be feasible to target one of those languages.

    8. Re:brainfuck? by corbettw · · Score: 1

      Or the interviewer. What if the guy has no idea what brainfuck is, and thinks "This guy's just fucking with me"?

      Of course, if you're the type to think brainfuck is a clever language and not just a, well, brainfuck, then maybe you're better off not working for that guy, anyway.

      --
      God invented whiskey so the Irish would not rule the world.
    9. Re:brainfuck? by gardyloo · · Score: 4, Interesting

      Yeah! And I always liked Tupper's self-referential formula: http://mathworld.wolfram.com/TuppersSelf-ReferentialFormula.html

    10. Re:brainfuck? by CDMA_Demo · · Score: 1

      Bryce, sometimes you really are a funny guy. This seems to be one of those times.

      Someone easily amused by brainfuck deserves to work for a company that finds brainfuck amusing.

    11. Re:brainfuck? by Anonymous Coward · · Score: 0

      Or Intercal.

      http://www.catb.org/~esr/intercal/

    12. Re:brainfuck? by Anonymous Coward · · Score: 0

      Sweet, Sweet Justice!

      --Bill posting annonymously cause too much justice is not justice at all

  4. Ask for a test problem by Rene+S.+Hollan · · Score: 5, Informative

    I usually explain that various NDAs prevent me from disclosing code I've written of significance, and suggest that I be asked to complete a programming exercise.

    Most employers have a set at the ready these days, and I usually respond with the 1 hour answer and the 1 day answer, the later showing an evolution of the former, with polish and usually a more generic solution.

    --
    In Liberty, Rene
    1. Re:Ask for a test problem by TheGratefulNet · · Score: 5, Interesting

      just tell them the request in not appropriate.

      since it ISN'T! would THEY like you to show work you did for them, later on, to OTHER employers?

      maybe that's the best answer you can give.

      [soap]
      the next programming test I take, I'm insisting I bring a laptop, have emacs and gcc at my disposal. I mean, I do NOT write code on whiteboards with markers in my real job, why should I have to put up with that in an interview? I am more than happy to sit down at emacs, have my indent checker, my syntax-colorizer extensions, have my tools at hand (like a normal work day would be like) and THEN see if I can solve the quiz or routine. but in all my years, I've never seen any employer show that level of wisdom in the interview process. sad, as writing on whiteboards is not something everyone is good at and I hate being judged by such artificial criteria. gimme emacs and lemme show you how I really edit/create code in real life. if I fail that, then I'll accept whatever decision you make.
      [/soap]

      --

      --
      "It is now safe to switch off your computer."
    2. Re:Ask for a test problem by Austerity+Empowers · · Score: 4, Insightful

      That's really a better way. We have some people come in (for a HW job, but same restrictions) bringing in PCBs they've designed in other places, etc. In addition to the obvious potential theft question, it's not appropriate to even look at designs done by another company.

      It's really not that helpful as an interviewer to ask someone to show work they may or may not have done anyhow, you want to be sure they presently have the capacity to do so.

      Another alternative that meets the interviewers demands, however is to design something of your own that solves a relevant problem in your field, and present that. It doesn't have the be huge. Point to GPL work you've done, or a pet project you worked hard on. I personally think it's not as practical, again I want to be sure the person sitting in front of me is the good problem solver.

      I'd never dream of even "testing" someone by asking him to bring in work done for another employer, even one that's relatively permissive. I wouldn't want even the appearance of impropriety. If it's brought in, especially with all the crackdowns going on in large corporations wrt licensing...it will only count against you.

    3. Re:Ask for a test problem by Octorian · · Score: 4, Insightful

      I also hate whiteboard coding. I love using whiteboards for drawing diagrams, though. Probably the only code I'll normally do on a whiteboard is an interface or syntactical illustration anyways.

      Of course another issue I have is that I tend to get quite nervous during interviews, whether or not I have a reason to be, and that probably makes matters worse. Standing up there shaking while sweating in a suit and trying to code something on a whiteboard... Lets just say I'll come across like a stumbling idiot on something I could do trivially in a normal environment.

    4. Re:Ask for a test problem by ksd1337 · · Score: 2, Funny

      I mean, I do NOT write code on whiteboards with markers in my real job, why should I have to put up with that in an interview?

      Emacs has a feature for that, you know.

    5. Re:Ask for a test problem by Mprx · · Score: 1

      Beta blockers will stop the shaking and sweating without any mental impairment. Here in the UK doctors are generally happy to prescribe them for this situation. Pretty much zero abuse potential so I'd imagine it's similar in most countries.

    6. Re:Ask for a test problem by sohp · · Score: 1

      CTRL-META-ESC-W board

    7. Re:Ask for a test problem by nbert · · Score: 1

      You could also tell them: If I show you my code, you have to sign a NDA priorly. Doubt that this would work, but it would give an interesting twist to this game.

      I don't work in this field anymore, but if I really had to present some code, I would come up with something which is way too abstract and complicated, so nobody could ever trace it to a particular job or company. I've got this really silly printer enumeration function I wrote for a company years ago. To be honest I fail to understand it nowadays. Ok, my skills won't impress anyone who is really into this, but I'm sure any serious programmer has written something which is so unspecific (but genius), that it can be presented even though it might break agreements one had with a former employer.

    8. Re:Ask for a test problem by Ortega-Starfire · · Score: 1

      Just write something. Seriously. Or get permission after writing some bit of good but non-specific code for a company to be able to include a scrubbed version of it for such purposes in the far future.

      --
      ---- Liquid was a patriot ----
    9. Re:Ask for a test problem by mr_zorg · · Score: 1

      the next programming test I take, I'm insisting I bring a laptop, have emacs and gcc at my disposal. I mean, I do NOT write code on whiteboards with markers in my real job, why should I have to put up with that in an interview? ...

      Amen, brother! The last two interviews I had (with *MAJOR* name companies no less) asked me to do just that -- none others in my 16 year development history have ever asked that. It's insane! I did not get the jobs, and I totally blame the whiteboad.

    10. Re:Ask for a test problem by smaddox · · Score: 1

      Anxiety and performance enhancement

      Some people, particularly musicians, use beta blockers to avoid stage fright and tremor during public performance and auditions. The physiological symptoms of the fight/flight response associated with performance anxiety and panic (pounding heart, cold/clammy hands, increased respiration, sweating, etc.) are significantly reduced, thus enabling anxious individuals to concentrate on the task at hand. Officially, beta blockers are not approved for anxiolytic use by the U.S. Food and Drug Administration. [10]

      Since they lower heart rate and reduce tremor, beta blockers have been used by some Olympic marksmen to enhance performance, though beta blockers are banned by the International Olympic Committee (IOC).[11] Although they have no recognisable benefit to most sports, it is acknowledged that they are beneficial to sports such as archery and shooting.

      Source:http://en.wikipedia.org/wiki/Beta_blocker

      So, apparently it's a bit different over here. I have definitely had anxiety issues before, but there are natural methods to handle them (breathing and psychological exercises).

    11. Re:Ask for a test problem by bigsteve@dstc · · Score: 3, Insightful
      In my last job, middle to senior level developers were involved in the process of screening and interviewing candidates to join their team. It was common practice to ask questions that involved coding on a whiteboard ... or over the phone.

      This was not done to torture candidates (or the interviewers for that matter). We were trying to find out things like the following:

      • Could the candidate actually program competently. You would be surprised the number of candidates who "exaggerate" (i.e. lie about) their programming skills.
      • Could the candidate think through a problem and come up with a good algorithm on the fly.
      • Could the candidate perform under pressure.

      These are all important attributes that you want to know about a developer ... before he / she joins your team and messes up an important project for you.

    12. Re:Ask for a test problem by wizzat · · Score: 1

      Heh, if you'd like to try out a place that sits you down with a computer and emacs during the interview process (and is an absolutely fabulous place to work), send me an email with my uid at gmail.

      I accepted this job over one of those whiteboard programming jobs. ;-)

    13. Re:Ask for a test problem by barzok · · Score: 0, Redundant

      How do you know that your "test problem" isn't an actual problem they need solved, and you're providing them with free consulting work?

    14. Re:Ask for a test problem by demonlapin · · Score: 1

      They're not approved for anxiolysis, but they're not being given to relieve your anxiety - just to prevent you from showing the symptoms. Of course, medications don't need to be FDA-approved for a specific purpose in order for doctors to prescribe it for one; in the case of well-tested and fairly safe medications like beta blockers, almost all doctors would be happy to prescribe a short course for you (assuming there's no overwhelming reason you can't have them). I certainly would. (But, FYI, though IAAD, IAN*your*D, so be sure to ask yours before taking any new medications.)

    15. Re:Ask for a test problem by Anonymous Coward · · Score: 1, Insightful

      From reading the other posts here one can quickly surmise that the other techniques for evaluating a candidate's coding skills have serious drawbacks: legality, ethics, time commitment, relevance, etc. The whiteboard coding method is free of those drawbacks. Yes, the candidate might be hindered by nervousness, but that is always a factor in interviews. As for firing up emacs on a laptop, that doesn't seem conducive to a give-and-take discussion. Even if a large monitor is available, it would be awkward and invasive for the interviewers to take over the candidate's keyboard to demonstrate a point.

      Maybe whiteboard coding is something you can simulate and practice at home with a pen and paper, conducting one side of an imaginary conversation with an interviewer.

    16. Re:Ask for a test problem by corbettw · · Score: 2, Funny

      Pfff. vim's version has a much cleaner interface.

      --
      God invented whiskey so the Irish would not rule the world.
    17. Re:Ask for a test problem by piojo · · Score: 1

      Would that be so bad? It would probably lead to you getting the job, if they used your solution. If they didn't use your solution, you probably weren't the best person applying, anyway.

      --
      A cat can't teach a dog to bark.
    18. Re:Ask for a test problem by barzok · · Score: 1

      It would probably lead to you getting the job, if they used your solution

      Or it would lead to their getting the issue solved at almost zero cost, and you still looking for a job.

      Yes, I'm a cynic. Read some of the practices exposed by Ask The Headhunter.

    19. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      Ok, so here's where you're missing the point:

      In an interview, you CAN'T simulate a real day's work, so you don't try. You don't ask the person to solve large problems. You don't expect the same level of rigor.

      You ask them questions that show their ability to solve problems that put them outside their comfort zone. When you're working, you aren't going to be in your comfort zone (I mean, I hope not. That's kind of sad). You're going to be learning new things, using new technologies, and doing all sorts of crazy stuff, and it's (hopefully) not going to all be in the environment you're most comfortable in.

    20. Re:Ask for a test problem by XaXXon · · Score: 1

      You have limited time to get done what you want. You want to see how well the person communicates and codes, so you have to combine the two - that's exactly what white board or phone coding does.

    21. Re:Ask for a test problem by ed.markovich · · Score: 1

      " do NOT write code on whiteboards with markers in my real job, why should I have to put up with that in an interview"

      Because the purpose of the interview is to watch you and talk to you, have you describe your thoughts, etc. It's much more informative to me to see you correct your bugs based on visual review of the code rather than because the compiler or a test-run drove you to it.

      The problems you're asked in interviews are trivial implementations, and you're rarely judged on the finer details that the compiler would catch. The whole point is to see what you can do based on your knowledge alone, w/o trial and error afforded by compilation.

    22. Re:Ask for a test problem by torokun · · Score: 1, Insightful

      Well, I have to call BS on the anti-whiteboarders. A good coder can think out some code and write it on a whiteboard. I'm not saying you don't erase or correct anything, but railing against it is just admitting your limitations, and I don't think most good coders would balk at this.

      People have been coding on boards and interviewing in that fashion for years and years.

    23. Re:Ask for a test problem by Keeper · · Score: 5, Insightful

      The correctness of the code you write in an interview on a whiteboard isn't what you are being judged on. Rather, the interviewer is trying to gather insight into your problem solving skills (or at least that's what I'm looking for when I interview someone).

      In a problem solving exercise like this, I don't care if you miss a semicolon, put a bracket in the wrong place, or can't remember the exact name/argument list for a function (though depending on what the problem is I'll probably end up telling you the function isn't available). I can teach a smart person how to write better code, but I can't teach someone to be smart.

      Some of the basic things I ask myself about the whiteboard question after the interview is over include:

      - did you ask questions about the requirements?
      - what did you do if I give you a requirement that contradicts an assumption or previously defined requirement?
      - did you just start writing some code or did you take some time to consider multiple solutions?
      - if I asked you to come up with an alternative/better way to solve the problem, were you able to?
      - if not, and I describe an alternate way to solve the problem, are you able to implement it?
      - did your solution consider boundary conditions?
      - does your solution scale?
      - do you show a fundamental understanding of programming theory?
      - can you communicate your ideas and solution effectively?

      The next time you get a whiteboard question, remember that correctness isn't necessarily the most important criteria -- it's the problem solving that matters. The best way to succeed with this type of problem is to think out loud and interact with the interviewer.

      As a side note, getting a good back and forth going with the interviewer is also the easiest way to "forget" that you are nervious, and you might relax enough to have a bit of fun...

    24. Re:Ask for a test problem by TheGratefulNet · · Score: 1

      you make some really good points.

      the main issue I have with whiteboard code writing is that I have come to depend (for better or worse) on my tools. I VISUALIZE the code better when its neat, properly indented and not chickenscratch writing that I can barely squeek out. I was one of those kids (>40 yrs ago..) who learned to type and basically had that take over and had my writing (penmanship) skills almost totally deteriorate. other than writing a check, I can't think of that many times I have to WRITE with my hands. all I do, hours upon hours, is type. my typing is VERY fast and I get a lot done. my hand writing is pathetically slow (sigh) and yet its only a 'limit' to me when I'm in artificial situations like the whiteboard situation.

      I try to get the interviewer to get into thought questions and and I'm more than happy to walk him/her thru how I'd solve the problem. and I feel quite fine with sitting down at my text editor and 'thinking into the tube' (or flat panel). its how I work and its how I think. there is no whiteboard at home, in my home office and I rarely use my work WB. block moves on a physical whiteboard is, as they say, a bitch ;) I'd much rather use a graphic editor and move my things around with a mouse. when I'm done, you can have a printout ;)

      --

      --
      "It is now safe to switch off your computer."
    25. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      For my current job, my interviewer brought his (Mac) laptop, told me to use my editor of choice and the C compiler to solve a problem he had printed on a sheet.

      Apparently I was the first interviewee to solve it during the interview. Which seems pretty sad, because it wasn't very hard. (Unbalanced binary tree insertion, inorder traversal, and trace prints.) Apparently most of his interviewees don't even try to use recursion.

      The job and the boss were pretty good, but he's since moved on to greener pastures. The job is still OK.

    26. Re:Ask for a test problem by siride · · Score: 1

      As an anxiety sufferer, I can tell you that breathing your way through panic or anxiety does not work in the general case. Sometimes, you really need medication. I find benzodiazepines to be much more effective than beta blockers (and anti-depressants even more so). A lot of people complain about benzos being addictive, but if you take proper doses, wean off them correctly and get proper therapy, it's not a problem. I've talked to so many people who were at one time or another on sometimes even high doses of benzos and a year or two later they were on nothing and doing better than they ever had before. Of course, some people just take the benzos and do nothing else and then of course they end up truly addicted.

    27. Re:Ask for a test problem by TheGratefulNet · · Score: 2, Insightful

      It's much more informative to me to see you correct your bugs based on visual review of the code rather than because the compiler or a test-run drove you to it.

      I like division of labor. let the machine catch a lot of what *it* can, and I'll do the rest. it works out fine for me. no, I'm not saying "if it builds, ship it" (lol) but I am saying that I don't desk check what the compiler can more quickly and thoroughly catch.

      compiling is interactive, today, its so fast. I can use the realtime error output of a compiler, quickly do a fix in the source and retrigger another compile. I can have it inch my way forward and not have to spend a lot of effort if its not necessary.

      is that a crutch? sort of. is it a bad thing? I don't think so. tools are tools.

      The whole point is to see what you can do based on your knowledge alone, w/o trial and error afforded by compilation.

      sometimes, the brainless stuff is BETTER done by trial and recompilation. seriously! I like to meter out my brainpower. as you get older, you learn that not every problem needs vigorous brain effort. you learn you need to conserve your effort to cut down on burn-out. inevitable burn-out. whatever you can do to keep the mundane stuff from burning you out, that's a good thing (imho).

      --

      --
      "It is now safe to switch off your computer."
    28. Re:Ask for a test problem by Creepy+Crawler · · Score: 1

      Yeah, I self medicate because I have a deep distrust against many doctors (i dont know you, and make no judgment about you). I have an extensive understanding of chemistry, including synthesizing some interesting compounds, along with a working knowledge in biochemistry.

      And if I have questions, I can search within scholar.google.com using my school's permission to med journals. I'm sure some of what I do is illegal, but it's for my personal benefit, and frankly I'll do with my own body as I please.

      What would be rather nice is if there was a Questions site on medical knowledge in which questions were like 5$ per. I could ask my questions and get better answers than what some of my research contains.

      --
    29. Re:Ask for a test problem by XopherMV · · Score: 4, Insightful

      Writing code on a whiteboard under the pressure and limited time constraints of an interview, without tools, without resources, and without a well-thought design is the opposite of how good developers actually develop code.

      You're not weeding out candidates who "exaggerate" about their skills. You're removing the engineers who haven't recently seen the problem you're asking.

      Further, with all the various knowledge of technology required to do software engineering from SQL to ORM to business code to frameworks to front-end code to test code to documentation to design and architecture, having your main requirement be the ability to implement a single algorithm from CS 101 is stupid. Coming up with a new algorithm is a miniscule part of an engineering position. If you're weeding out candidates because of that, then you're the moron.

    30. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      because it's always a good idea to tell people whom you would like to get money from to f-off. sometimes you want to actually get a job from someone, and ... well you know they best way to do so is to do what they ask of you during the hiring process. not everyone can afford to have high standards like you apparently do.

    31. Re:Ask for a test problem by XopherMV · · Score: 1

      Are you still in college? Seriously, that strikes me as a question asked by someone who never actually worked as a developer. The test problems they ask are both trivial and repeated from candidate to candidate. Any responses are likely useless on a commercial basis.

    32. Re:Ask for a test problem by kidgenius · · Score: 2, Insightful

      You're not asking someone to write perfect, syntactical code. You're just asking them to do some pseudo code on the board. See how their mind thinks. See how they develop algorithms. What paths do they follow. Writing syntax perfect code isn't what's important. Thought processes are.

    33. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      Man up pussy. Seriously. The questions they ask you in interviews are designed to be solved *in your head*. If you can't solve them *in your head*, you shouldn't get the job.

      Now, if you can solve them in your head, then transcribing them onto a whiteboard is trivial. But that's right, you are an idiot.

    34. Re:Ask for a test problem by XopherMV · · Score: 3, Insightful

      The idea that you can "see how their mind thinks" is a load of crap. Engineers are too used to dealing with machines. They are the absolute worst when it comes to interacting with other people, even though they often think otherwise, like you. The concept that you can read the lifetime of someone's development experience in a 5-minute exercise is completely ludicrous. Psychologists are far better at reading peoples' minds than you and they can't do it that fast, especially for the level of accuracy you seem to claim.

      That is certainly one reason why there are so many "shitty engineers" out there despite the fact that these engineers have had jobs giving them years of experience, and yet each company out there hires the "best and the brightest".

    35. Re:Ask for a test problem by smellotron · · Score: 1

      the next programming test I take, I'm insisting I bring a laptop, have emacs and gcc at my disposal. I mean, I do NOT write code on whiteboards with markers in my real job, why should I have to put up with that in an interview?

      I'd refuse your request. Why? Because when I'm asking for someone to provide a white-board solution, my expectations are completely different. Here's what I care about:

      • Do they have a passable-enough knowledge of their toolchain to not require looking up trivial stuff? The compiler and google help with a lot, but it sure hurts when you're reaching for a reference for every line of code.
      • Can they reason through an algorithm? Code is worthless if it's not planned, and planning doesn't require syntax highlighting.
      • Can they think on their feet? I don't want to spend 10 minutes getting a solution that compiles without warnings, I want to get the conceptual problem solved in 2 minutes and spend the next 8 minutes discussing the merits of the solution, possible bugs, alternatives, and any rationale/motivation for the solution as presented.

      As to whiteboarding on the job... if a co-worker can't express his idea of a solution without resorting to emacs + gcc, there's a good chance that the idea either isn't good to begin with, or that it will be poorly implemented/maintained due to a lack of shared understanding. Good design leads to good code, not the other way around.

    36. Re:Ask for a test problem by CyprusBlue113 · · Score: 1

      You mean CTRL-^47b ?

      --
      a handful of selfish greedy people are no match for millions of selfish, greedy people -u4ya
    37. Re:Ask for a test problem by Actually,+I+do+RTFA · · Score: 1

      but in all my years, I've never seen any employer show that level of wisdom in the interview process...gimme emacs and lemme show you how I really edit/create code in real life. if I fail that, then I'll accept whatever decision you make.

      I had to interview candidates recently. I provided written out descriptions of test problems, but I sat them down in front of a development machine (we dictate IDE, etc.), with internet access. I was amazed at how few used it.

      And I did make sure they knew they were allowed to. There was a huge inertia to answer the questions in the same format tehy were given.

      --
      Your ad here. Ask me how!
    38. Re:Ask for a test problem by bigsteve@dstc · · Score: 1

      You're removing the engineers who haven't recently seen the problem you're asking.

      Exactly! For our coding exercises, we tried to pick problems that candidates were unlikely to have encountered before. If an engineer (given a hint or two) could not make a half-decent attempt at solving a novel problem, it was a sign that they were not a good fit for the work that our team had to do.

      Obviously, were looking for other attributes and skills as well. Our interview process was typically an all-day affair, and we didn't reject people if they "failed" on one design / coding exercise.

    39. Re:Ask for a test problem by SlashJoel · · Score: 1

      You do understand, though, that you were putting them in a situation they would never encounter in the 'real world' of your job, right? I assume you would never give your employees a couple of hours to complete a programming assignment which had to be done entirely over the phone. Why not make everyone code while humming a folk song and juggling to see how their multi-tasking skills are? If you give someone less time, less tools, and more pressure than in real life, how clear a picture can you possibly get of how they would perform in real life?

      What if I tested your hiring skills by asking you to hire someone via black and white videoconference without speaking to any of the candidates? Sure you might look for things like dress, facial expressions, and body language (which are things you would take into account in a normal interview), but would it be an accurate measure of your real-world value as an interviewer?

      Seriously, cut out the song and dance routine. It's like choosing American Idol based on who can sight-sing the most accurately.

    40. Re:Ask for a test problem by Splab · · Score: 1

      While I used to think the whiteboard coding was a load of crap I have come to respect it.

      As the GP said, having someone create a solution to a problem - pseudo code or whatever - tells you heaps about how he or she works. For instance, if you put me up on that whiteboard I would start by outlying the problem, going over each step and checking what I would need (writing it on the whiteboard), then I would sketch the solution and if they want me to proceed, create a solution - that's how I do my work normally, on pen and paper before I start typing at a computer. Show them that you aren't a cowboy when coding, but rather stop and think about the problem before you dive into it.

    41. Re:Ask for a test problem by bladesjester · · Score: 2, Interesting

      Don't bet on it. I've actually run into a company that tried to get me to design a site for them (as in actually for a client and not something test-like) as part of my "interview".

      When I informed them that that wasn't going to happen, they started trying to convince me that it was an accepted method for deciding on candidates. When I informed them that I didn't work for free and that it certainly wasn't an industry accepted practice, they got rather furious.

      Since it happened at a career fair for my alma mater, I emailed the people in charge and informed them of the shady practices of the company. They were basically hoping to sucker free work out of recent grads or prospective grads that they hoped wouldn't know better.

      It may not be extremely common, but it does happen.

      --
      Everything I need to know I learned by killing smart people and eating their brains.
    42. Re:Ask for a test problem by boaworm · · Score: 1

      I maintain a hobby project for this reason, to have code that is my own.

      Doesn't have to be anything fancy in that sense, just that it shows you know how to make use of classes, inheritance, templates, threading and whatever you want to show.

      --
      Probable impossibilities are to be preferred to improbable possibilities.
      Aristotele
    43. Re:Ask for a test problem by barzok · · Score: 1

      In the dozen or so places I interviewed when last looking for a job, not once was I asked to write code. The closest I got was a computer-based "skills assessment test" which was horribly flawed, and I informed the interview of that. She shrugged it off with "we've heard that a few times lately, but you scored way above average so don't worry about it."

      When I was part of the hiring process for my previous employer, we never asked people to write code. We could tell if someone was BSing us without needing actual code. As an interviewer, I personally wouldn't ask someone to solve something from a real situation which we hadn't already solved - that way I can not only evaluate their solution, but how they arrived at it to make sure they'll work well with the team. This also eliminates the "free work" issue.

      You think the "free work" thing doesn't happen? Skim through the archives of Ask The Headhunter.

    44. Re:Ask for a test problem by TheRaven64 · · Score: 1

      Really? How often do you think most of us have even held a whiteboard pen? I write hundreds of thousands of words and tens of thousands of lines of code every year with a pen. I write maybe a thousand words with a pen each year. Apart from an interview at Google, I can't remember the last time I used a whiteboard. If you make me code on a keyboard, I will be thinking about the code. If you make me code on a whiteboard, I will be thinking about how to hold a whiteboard pen and how to form letters.

      --
      I am TheRaven on Soylent News
    45. Re:Ask for a test problem by OolimPhon · · Score: 1

      I've been using a keyboard for so long, my handwriting is unreadable, you insensitive clod!

    46. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      These are all important attributes that you want to know about and you can't know about by using whiteboard coding tests.

    47. Re:Ask for a test problem by demonlapin · · Score: 1
      Well, you can post and ask, but you're vanishingly unlikely to get doctors' responses: not because we're so money-grubbing and tight-fisted with our knowledge, but because of liability. We are supposed to examine and interview a person before prescribing anything or offering specific medical advice, and failure to follow the rules leads to bad outcomes in court.

      Incidentally, it doesn't bother me personally that you don't like doctors, though I do often wonder why some people are so distrustful. If you don't want my advice, and you aren't going to follow it, then why are you asking for it? It's not an issue I've seen much since medical school, however, because I'm an anesthesiologist. I find that when offered the choice between feeling their surgery and not feeling it, people overwhelmingly choose the latter.

    48. Re:Ask for a test problem by sticky_charris · · Score: 1

      My first job out of University was a new venture with someone I knew; no interview. I am soon to start looking for a regular job and really don't know how well I would perform. Any pointers to examples of what might be asked? I know all jobs will look for different skills, but presumably the small coding exercises are fairly generic? I also guess the solutions are fairly short if they have to fit on a whiteboard?

    49. Re:Ask for a test problem by TheGratefulNet · · Score: 1

      we'll have to agree to disagree, then.

      having been programming since I was 14 (and I'm mid 40's now) - I can write code in my sleep, almost, at this point.

      but I still feel that the 'whiteboard test' is a horrible way to test someone; at least someone senior, like myself.

      I don't WANT someone who can 'code fast on their feet'. coding like that is JUNK CODING. this isn't some marathon where you have to get coding done (lines/minute) for some kind of stupid race.

      think on my feet? am I applying for a game show? oh please. you want someone who can think WHILE SITTING DOWN. seriously. speed while coding is nothing I want to 'test' for.

      the thing about whiteboards is that its a BITCH to add lines in the middle, move things around and do big changes. sorry, but not all of us write line by line, from line 1 thru line-n. I want to be able to put down some code, indent it, look at it, add some in the middle, move that around - etc. I 'think' into the tube/crt/lcd as I said before. writing on a whiteboard, where you are likely to need to revise the source A LOT, its just inconvenient to do that on a system that can't do block moves, deletes, etc. THAT is what I'm complaining about. whiteboards are clumsy as hell for this task.

      fwiw, my interview style (when I'm on the hiring side) has changed radically. I used to be 'mr hardass' when I was in my 20's and early 30's. but then I mellowed over the years (lol) and I now see things entirely different. maybe its because I've been in the field a long long time, but I don't need to SEE someone's code to get a feel for their thinking ability. and I'll NEVER insult a senior/principle engr by asking him programming questions. if you have 30 yrs on your resume and most of your jobs had programming in them - as long as the guy isn't a liar - there is NO need to 'test' him to see if he really has been programming for 30 yrs. you check him out if he's honest - but you don't need to insult him with syntax questions and all that.

      --

      --
      "It is now safe to switch off your computer."
    50. Re:Ask for a test problem by TheGratefulNet · · Score: 1

      would you apply the same criteria for a junior, middle and senior engineer?

      do you honestly think a person can exist in the tech field (with checkable references) for years and years and NOT be able to code?

      do you think your 'test' will truly screen out those that code poorly? I've seen no correlation at all between 'hire him, he's a star!' people and 'he's ok, we need headcount, get him' people. the ones you often think are super bright also often write 'write-only' code that no one else can understand or support.

      programming tests are a joke because people THINK they are real tests but they're fake/synthetic as hell. if you want to hire a 'machine', then go ahead and test for mechanics. if you want a thinking human being, TALK to the guy and stop with the written test crap.

      been there, done that, seen it fail. and seen the people that pass thru as 'stars' only to find they were not writing supportable code and were writing code like they did in college - to IMPRESS people but not to be supportable by non-genius employees.

      --

      --
      "It is now safe to switch off your computer."
    51. Re:Ask for a test problem by smillie · · Score: 1

      Some coders are dsylexic like me. I am the best coder on our team of 20 sysadmins. I regularly get pulled out of our group to code for other groups including dedicated coding groups. That being said I can't write code on a whiteboard to save my life. 80% of the words would have backwards letters or be misspelled. I'd need to do line and word inserts which just doesn't work on a whiteboard. We dsylexics just don't think like everyone else and plain stright forward writing of code just doesn't work for us. Normally I write in my own version of pseudo code and then go back and replace lines with real code and usually more pseudo code. Easy to do in an editor but impossible on a whiteboard.

      --

      Dyslexics Untie!

    52. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      Who cares if the candidate can "come up with a good algorithm on the fly?" They're not going to be doing that in their cubicle.

    53. Re:Ask for a test problem by smellotron · · Score: 1

      we'll have to agree to disagree, then.

      Fair deal.

      if you have 30 yrs on your resume and most of your jobs had programming in them ... you don't need to insult him with syntax questions and all that.

      My focus with someone with that level of experience isn't basic syntax. Syntax is easy. I've seen plenty of older developers who still retain stale prejudices from back in their heyday. My concern is getting someone who thinks age = knowledge and closes his mind to learning something from a young whippersnapper like me. I've seen at least one candidate who was obviously offended by my presence in the interviewing room (he wasn't hired).

    54. Re:Ask for a test problem by TheGratefulNet · · Score: 1

      it also depends on what you are interviewing for, in terms of the job requirements and what the newhire is tasked with doing.

      with senior developers, age DOES equal knowledge, as long as the resume is not bullshit. so, you ask a few questions about each job that's listed and you analyze what that person said; does it pass the smell test. if so, then his resume is trustable. the next question is: are the skills listed on his resume what you are in the market for. if you are looking for a java guy and he has valid jobs listed where he did java, and his ref's check out, I see no reason to test if he actually DID write java. there are some things that are just plain insulting to have to answer and re-answer - when you have spent actual provable time in a few jobs -doing- that kind of work.

      you are looking for a guy who has had experience in products A,B,C,D. you need someone who can do E,F,G. that's your job requirements, say. you screen the resumes to make sure they have all that a..g stuff. then you see if they actually DID that but not via any on-the-spot synthetic test. I've been asked to do math in my head, on the spot, while some guy stared at me. in all my years, I have NEVER had that as an actual job requirement.

      spot quizzes, which is basically the nature of a lot of 'interviews' that clueless companies and green employees put people thru, are not any kind of valid predictor of the candidate's peformance ON THE REAL JOB.

      but, I guess if you just don't believe me, just keep doing it the way you are doing. oh, right, that's just the same thing you are accusing us old farten about. sorry, my bad.

      (let me say this, if I'm allowed: take note of how you interview people, now, while you are somewhat young. then keep a concious log, if you can, of how your nature or tactics of testing candidates changes over the years. for me, I have actually noticed a huge change in how I approach people coming in to interview for a job at my company. so, fwiw, see if you can sort of watch yourself over the years and see if I'm right, 10 or 20 yrs from now.)

      --

      --
      "It is now safe to switch off your computer."
    55. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      We have some people come in (for a HW job, but same restrictions) bringing in PCBs they've designed in other places, etc. In addition to the obvious potential theft question

      Absolutely true!

      it's not appropriate to even look at designs done by another company.

      True only if the product is not yet on the market (trade secret, shown only with an NDA, etc.). Once it's been sold to the public anybody is free to look at it, see how it's made, look for clever features and embarrassing bugs, etc. Making an unauthorized duplicate would be copyright infringement, and that is inappropriate. Showing the CAD design files is analogous to disclosing the source code, and that is inappropriate (unless it's open source, which hardware rarely is). What any customer can see about the product in their hands is not a trade secret. The recipe for making it usually is.

      So for the original poster: have you contributed to any open-source projects? Bring that code to the interview, show it to them, and explain why you only brought your open-source work. You've not only demonstrated your ability, but also your ethics. Any employer worth working for will appreciate that!

    56. Re:Ask for a test problem by TapeCutter · · Score: 1

      I'm not an expert inteviewer but during the 90's I had a technical veto on about 30 programmer/analyst positions over several years on a large telco project. Your not reading their mind, your assesing their skill to communicate their "lifelong experience" and their ability to show how it can be usefull. When it comes to development you cannot effectively interview someone for a job if you know nothing about the job yourself so a phycologist has little chance of weeding out a wannabe developer in 5 minutes. However, if you do know the problem space yourself then simply talking in general terms about the project for 5 minutes can give you a great deal of insight into a candidate. For instance, if I get a lot of suggestions but few questions then they are quite likely to develop great answers to the wrong problems. The ideal is someone who asks insightful questions.

      Assesing coding skills and humility is also a snap if you know the language well, just ask trivia questions until they either tie themselves up with bullshit or direct you to the manual, if they feel the need to bullshit my part of the process is done within 5 minutes and I would make an excuse to leave the room as a sign to the project manager who would talk to them for another ten minutes or so.

      When I'm the one applying for a job I want someone who understands the job interviewing me, some of the contrator pimps are good but HR filter interviews are the worst. This is because the person interviewing you thinks a 'software engineer' is whatever acronyms the project manager wrote in the form, to them an RTFM tatoo across your knuckles is a sign of a mental disorder, a beard is a sign of an 'engineer'.....beard...lack of females...I think I'm on to something here...

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    57. Re:Ask for a test problem by yahooligan · · Score: 0

      You just need practice. First, mount a whiteboard on your wall at home. Practice answering common coding questions. Learn to use the space without crowding.
      Next, get a friend to interview you, with you writing on your whiteboard. That will up the stress level.
      And wearing a suit? At Yahoo, I don't think I've ever seen a candidate in a suit. Are you in some repressive east-coast hellhole? Just wear a T-shirt that's free of conspicuous holes or odors.
      Anyway, practice builds confidence. When I smell the solvent of dry-erase markers, I'm ready to rock.

    58. Re:Ask for a test problem by CorSci81 · · Score: 1

      I personally find the whiteboard to be an extremely valuable tool for coding, but anything I write on it is barely even pseudo-code. I've seen far too much code written by guys who are excellent at programming but fail miserably at planning. Their code is always technically correct and does what it needs to do, but when it comes time to upgrade it because project requirements have changed it can be a real bitch because it wasn't thought out with maintainability in mind. Before I even fire up my editor of choice I have a complete program design worked out on the whiteboard showing all of my objects/classes and their methods and members and how everything fits together. The hard part of writing good code isn't the actual coding, it's the design. I learned that the hard way after trying to think at the keyboard too many times and ending up with code that bit me in the ass later. It also had the benefit of noticeably speeding up my development time and significantly reduced my debugging to largely finding typos. When you have a good design in hand the code practically writes itself, it's rare I have to spend a significant amount of time on specifically how to implement anything in a given language.

      What I'd be interested in a whiteboard test is if a candidate can think through a simple design and lay out a plan of action that any reasonable coder should be able to implement, not specifically write down every step of the algorithm. For example, I recently wrote a library to handle NITF files. It's a non-trivial file format to implement (but certainly not the most difficult). I'd be interested in seeing if a candidate starts down a torturous procedural approach on the whiteboard or if they'd notice immediately that about 95% of the formatting nastiness can be handled by a single recursive object in a tree.

    59. Re:Ask for a test problem by XopherMV · · Score: 1

      And for the record, there are plenty of companies out there who ask for perfect syntax on these sample problems. Two of my last interviews asked for that level of detail.

    60. Re:Ask for a test problem by XopherMV · · Score: 1

      Almost all the interview questions revolve around CS 101 type stuff. Crack open your old books and review your notes. Yes, that tells the interviewer nothing about your last few years of experience, but evidently that's the way they prefer it.

    61. Re:Ask for a test problem by XopherMV · · Score: 0

      If an engineer (given a hint or two) could not make a half-decent attempt at solving a novel problem, it was a sign that they were not a good fit for the work that our team had to do.

      And how often are you solving novel problems on the time constraint of 30 minutes, with the pressure of your job at stake, without tools, without resources, and without a well-thought design? You're talking about a completely contrived situation that is not likely to occur in the actual job. Any code produced from situations like that should be complete crap. And you want to judge someone's entire career and future with your company based on that?

      Further, you want novel problem solvers, but in positions where they're unlikely to do novel work. Software engineers work mostly with already-existing technology. They're configuring and testing new functionality, using processes and systems already established. They're maintaining and documenting all the code they run into. They work hard to follow proper software standards. A truly novel-thinking engineer would be completely bored and/or frustrated in a regular software engineering role.

      There is very little novel about the standard software engineering role. Requiring your interview candidates to solve novel problems is testing them on one, tiny facet of the job. It tells you almost nothing about how they'll perform as an actual engineer, which generally does not require novel thinking.

    62. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      Every point you made is just as applicable would apply just as well if the inteviewee used a computer rather than a whiteboard.

    63. Re:Ask for a test problem by fishbowl · · Score: 1

      >How often do you think most of us have even held a whiteboard pen?

      I think you have one or more university degrees. I think if you're over 30, you did it with chalk.
      Otherwise, yes, you've done all kinds of math, physics, other lab sciences, other kinds of writing,
      and a fair amount of computer program illustration on a whiteboard. You can handle it.

      --
      -fb Everything not expressly forbidden is now mandatory.
    64. Re:Ask for a test problem by dcam · · Score: 1

      Absolutely.

      Writing code on paper or a whiteboard is a terrible idea. Good programming practices make it harder to write code well. For example, it is a good idea to write the closing brace when you write the opening brace for a block of code (or whatever delimits blocks in your language). Now, when you write the closing block, you may not have a good idea as to the size of the block that it will contain.

      In general it is better to code by writing the skeleton first and filling it in later. That you cannot do on a whiteboard.

      --
      meh
    65. Re:Ask for a test problem by herriojr · · Score: 1

      Yeah, tell me about it. Most interviews when they tell me to program something in front of them or something similar, I can't even concentrate. I seriously just keep thinking in my head, "I wonder what he/she is thinking" and I can't even get lines of code out on paper.

      The real funny thing is at my current job, I got one of the highest bonuses out of all the devs and the best review. And I work with a bunch of Stanford graduates, and I graduated from some no name university. I'm also the lead developer on most of our most successful projects.

      I'd seriously just like them to give me some work, a deadline, and come in on that day with the code in hand (without someone watching me the entire time).

      I love my job, though, so I don't have to worry about looking for jobs anytime soon :)

    66. Re:Ask for a test problem by kidgenius · · Score: 1

      And I think that's what's ridiculous. IMHO, the compiler is for syntax, the programmer should be able to generate algorithms.

    67. Re:Ask for a test problem by Creepy+Crawler · · Score: 1

      Well, most of my dealings are with GP's. The sad fact is that one can read up online about a specific "fuzzy ailment" and almost always get drugs for it. And in the case of my mom, when her mom died, they tried to order Wellbutrin. The problem was the grieving process, and that doc wanted nothing to do with that.

      The bad part is when you know something and the doctor doesnt believe you, or ignores it. I know my body better than anybody else, and know when weird thing's are happening. And to how our legal system is set up, it's illegal to self-medicate.

      I guess when I pay for service in a certain industry, I expect that they would know more about what they do than I would. I'm just an electrical engineering student who after studying on normal websites and going through medical journals (via Indiana University med school's vpn), am more knowledgeable than the very doctor who I am seeing. They're just the troll you have to see to get the proper drugs.

      Now, in all honesty, I do believe that no drugs should be restricted in any way, with the exception of 1: antibiotics. Antibiotics usage only shows after a long term, we have cases of resistant strains that none of our current drugs can kill. We've had MRSA, and now we're getting resistant TB and AIDS, along with many others.

      Hence, I order online from Europe (since US drugs have been shown equal incidence of fake substance) and provide no doctors signature or fake when I have to. The European prices are also more reasonable as they negotiate better prices with the US drug companies, unlike us who have no real health system to speak of. In cases of pain management, stockpiling and offers to buy from other people are the best. I have no full time access to a chemical assay, and will not trust street drugs.

      --
    68. Re:Ask for a test problem by Beezlebub33 · · Score: 1

      I totally agree with the parent. Writing code on the whiteboard makes no sense; we ask our interviewees to put up the architecture of their latest app, and maybe some UML stuff, DB stuff, but not code.

      For coding, we have a computer that has pretty much every IDE that you could want. Yes, it has emacs (though it wouldn't have your .emacs on it; bonus points for editing that on the fly), but also has netbeans, and eclipse, and Intellij, and notepad and a couple others too. If you say you use something else, we'll install it, buying it if needed.

      The important thing is that if you are a coder, you need to be able to code; and you can do it in whatever tool you want. But if you can't easily use your own choice of tool, you're SOL.

      --
      The more people I meet, the better I like my dog.
    69. Re:Ask for a test problem by try_anything · · Score: 1

      Engineers are too used to dealing with machines. They are the absolute worst when it comes to interacting with other people, even though they often think otherwise, like you.

      Are you saying we should leave hiring to the HR people, or we should only hire machines?

      Xopher: "I AM PROGRAMMER BOT. I HAVE TEN YEARS C/C++ EXPERIENCE."

      Interviewer: "Do I know you? I feel ready to work with you already!"

      Xopher: "DO NOT ASK ME ABOUT JAVA. I HAVE FIVE YEARS JAVA EXPERIENCE, BUT PLEASE DO NOT ACCESS THESE PAINFUL MEMORY SEGMENTS. HA HA HA HA."

      Interviewer: "And a sense of humor, too! Let's make this guy an offer."

    70. Re:Ask for a test problem by XopherMV · · Score: 1

      I'm saying you should drop the god complex and admit that you can't read people's minds.

      Further, I'm also saying that no one who both survived through a computer science degree from a decent school and then spent 5 years gainfully employed as a software developer for multiple companies is "shitty".

      It is far more likely that interviewer and the candidate, both being engineers who are almost by definition NOT people-oriented, are unable to communicate properly. The candidate is unable to properly communicate their experience. And the interviewer is unable to properly read that experience.

      As for how we should be doing interviews, I do have some ideas there. However, that is beyond the point I was making.

    71. Re:Ask for a test problem by bigsteve@dstc · · Score: 1

      You do understand that you can never give someone an interview problem that is truly representative of what they would encounter in their job?

    72. Re:Ask for a test problem by SlashJoel · · Score: 1

      Bullshit. Just because you ask useless questions doesn't mean everyone has to. "Here's a problem/challenge/task we took on recently. We resolved the issue but I wonder how you would approach it...when you come in for the interview Monday, I would like to hear your thoughts. Bring in a little example code/whatnot and be prepared to back up your choices." You're the interviewer, remember? You can ask whatever you want within the bounds of law. Might as well learn something relevant about them while they're there. Or, you know, not.

    73. Re:Ask for a test problem by try_anything · · Score: 1

      It is far more likely that interviewer and the candidate, both being engineers who are almost by definition NOT people-oriented, are unable to communicate properly.

      If the technical interviewer and the candidate can't communicate about technical topics, whether it be past work or a problem on the whiteboard, they shouldn't be working together. The candidate shouldn't be hired. End of story. Even if the candidate deserves to be hired (in some abstract moral sense) he's better off not working for a company where he would be a useless dead weight.

    74. Re:Ask for a test problem by Anonymous Coward · · Score: 0

      Maybe the request for sample code is to find out if you really do any coding outside the workplace. If you do, sample code shouldn't be an NDA issue. If you don't, it demonstrates that you don't use your programming skills to solve non-work related problems.

  5. Open source by Tablizer · · Score: 5, Insightful

    Work on an open-source project, and use that code.
           

    1. Re:Open source by allenw · · Score: 1

      Bonus points if you can get paid by the company to work on open source.

      [This can work for non-coders too. It is an absolute joy to be able to go to USENIX or ApacheCon or whatever and discuss/share common problems. ]

    2. Re:Open source by v1 · · Score: 3, Insightful

      being able to direct them to a search on a repository and start pulling up your code all over the place definitely looks good.

      --
      I work for the Department of Redundancy Department.
    3. Re:Open source by wonkavader · · Score: 3, Insightful

      This extremely good advice. The impact of having your name on a well-known open source project to many people cannot be overestimated. Won't work on everyone, but to many, you'll acquire a slight glow.

      And yes, you can show your code.

    4. Re:Open source by Anonymous Coward · · Score: 0

      I agree with this. Take a bit of your spare time to join in on helping out another free software project, then demonstrate your contribution by showing your patch submissions etc.

      Of course, this doesn't help now if you haven't done that, but it's a good idea for your next job.

    5. Re:Open source by knavel · · Score: 2, Insightful

      Keep in mind, you don't just pull an open source project out of your ass, you first must find a need, before you can fill it. This is not always so obvious or easy a thing for someone to do.

      Not to mention, some people legitimately don't have the spare time. I myself was lucky that I worked on several open source projects here and there /before/ I started developing full-time, because now that I spend all day doing it, the last thing I want to do is spend all night doing it just to pad my resume. I still maintain my existing projects, but I don't go looking for more work.

      If all I did was code 24 hours a day, I'd probably snap and murder my wife...

    6. Re:Open source by BrynM · · Score: 3, Insightful

      Work on an open-source project, and use that code.

      I do a related type of thing. I write a stand-alone tool to solve one of my repetitive problems every so often and OSS it. If the code belongs to my employer in any way, I ask them about it as I'm developing the tool. Usually the small bits of maintenance on the tool done by the community is worth it for an employer (they can have my attention elsewhere and the tool gets a small level of free support or bug reports). I have yet to hold a position where I was not allowed to do this when I have asked for it. I mention the strategy at every good interview I have. I have found that potential employers are attracted to someone who can write and spin-off such things.

      --
      US Democracy:The best person for the job (among These pre-selected choices...)
    7. Re:Open source by zgrossbart · · Score: 1

      You can also make your own open source projects. If it is something big put it out on SourceForge. If it is something small just put it into a blog. A blog is a great place to show your skills. Not only will you show some code, but you will show your communication skills. The ability to frame a problem's scope, solve the problem, and communicate well about your solution is what most companies are looking for.

      You look at my attempt if for inspiration: http://zgrossbart.blogspot.com/

    8. Re:Open Source by Anonymous Coward · · Score: 0

      I must ask whether being able to show that code, constitutes enough value that is it worth doing for that reason alone? I mean, I love open source as much as any slashdotter and understand that people contribute to open source projects for a number of reasons (mostly for fun, I believe) but I seriously doubt that if you're only interested in advancing your career, your time is better spent doing something else.

      I wonder how many managers hiring people are even remotely interested in open source despite what some employees probably tell them "it's free for us to use under certain conditions and saves us a lot of money" (and the manager obviously wonders "what's the catch?"). There are certainly exceptions but unfortunately I believe that they're just that - exceptions.

  6. Good example by overshoot · · Score: 5, Insightful

    With that in mind, what am I supposed to show them?

    ... of why clueful programmers contribute to software libre projects -- it's good advertising.

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
    1. Re:Good example by Anonymous Coward · · Score: 0

      ... of why clueful programmers contribute to software libre projects -- it's good advertising.

      It's also good for job security, negotiating leverage, and security in knowing that your employer can't fuck up your project (no matter how hard they try, or whom they might sell out to).

      It allows you to quit, switch companies, or get fired*, and keep on working on the same code base (if that's what you wish). Many times, you might lose the name and the domain name of the project, but if you're responsible for having built up the community support and the client base -- then all those people will just follow you no matter where you go.

      * note: Of course, standard disclaimer applies: I'm not a lawyer, but I've seen one on TV. Blah... Blah... This implies that the non-compete you signed is invalid in your State, or that you didn't sign one in the first place. And as a rule of thumb, you should make any non-compete agreement offered to you contingent on full-time pay for the duration of said non-compete period (in addition to any standard severance package you may already have negotiated for yourself).

  7. Sample Code by c0d3r · · Score: 1

    I think sample code is a ploy to get rid of candidates. I have a complete site of sample code, and what happens is it just ends up being something to shoot holes at. Also, you can't give internal code that belongs to a company.

    1. Re:Sample Code by dexomn · · Score: 1

      How the hell do you shoot holes at something? What does that mean? ;)

    2. Re:Sample Code by c0d3r · · Score: 3, Informative

      I've shown some good code to people, and they start saying whats wrong with it without knowing what it's about. For instance, I interviewed with some small startup (some 5 dudes coding in a studio), and I showed them some heavy ajax code, and they said it would be too slow for a high traffic site. I told them it was an internal application with high functionality, and he proceeded to show me a simple html page with no javascript and told me "see this is high performance". I think its just deceit when the person interviewing you doesn't have a strong skill set and feels intimidated by a good candidate who will make him/her look bad.

    3. Re:Sample Code by Zenne · · Score: 2, Insightful

      Christ. Is the site listed as your homepage the one you show to potential employers?

    4. Re:Sample Code by treeves · · Score: 2, Funny

      Shoot electrons at it, but every now and then leave one out.

      --
      ...the future crusty old bastards are already drinking the Kool-Aid.
    5. Re:Sample Code by c0d3r · · Score: 1

      hehe.. funny... I've heard that before... I haven't updated that site in almost some 8 years.

    6. Re:Sample Code by DJNephilim · · Score: 1

      I think you missed what dexomn was saying. I think that in your original post, you meant to say "...it just ends up being something to shoot holes in " and not "it just ends up being something to shoot holes at ."

      --
      Enemy of the Sun
    7. Re:Sample Code by c0d3r · · Score: 1

      I guess I was saying that I don't like VB programmers coding in a startup with 5 people in a run down studio telling me my code sux, when I've implemented high transactional billion dollar systems that have been in use for years.

    8. Re:Sample Code by Anonymous Coward · · Score: 0

      How the hell do you shoot holes at something? What does that mean? ;)

      Well, if you have a gun, I can sell you some holes(TM) for it. They're made of nano-material so ordinarily you can't see them, but if you dip your pellet in the box, it will be coated with hole and will come off the pellet once fired at said target, forming a coating which instantaneously leaves a hole.

    9. Re:Sample Code by maxume · · Score: 1

      So what the hell were you even doing at that interview?

      --
      Nerd rage is the funniest rage.
    10. Re:Sample Code by sohp · · Score: 2, Interesting

      I had something similar happen to me. The interview test question was worded "write a solution for find the exit path from a maze from any starting point". OK, college algorithms class stuff, I thought. I'm a bit rusty but I remember the general techniques.

      As soon as I start throwing up code on the board they start adding conditions. It couldn't be a chunk of simple code that showed the algorithm, it had to also show good modularity and separation of concerns. Oh, I thought, so it's also a test of my design skills, that's good because really, what does knowing how to solve a maze show other than you can pass algorithms 101?

      After a couple more rounds like this, with ever more abstract and arbitrary issues imposed, (like: "don't use exceptions that way, it's bad style" when I used them in a way that's common in both the libraries and the literature for that language) it finally struck me that these guys weren't looking for someone who knew how to solve a particular problem, they were looking to find someone who would solve the problem in exactly the same way they'd solve it. At that point I just blew off the rest of the interview and every time they raised an objection, I just responded, "yes, that's one way to do it, but not the only or necessarily the best" while changing my solution to match theirs.

      I'm glad they didn't hire me though, I could sort of tell when I was sitting in the waiting area until well past the time they said they interview started in their offices in a soulless corporate office park that it was a soul-draining company.

      Oh, and it's "shoot holes IN".

    11. Re:Sample Code by sohp · · Score: 1

      Shoot a beam generated by the LHC, there's bound to be a quantum black hole in there somewhere.

    12. Re:Sample Code by poopdeville · · Score: 1

      Even easier: have it shoot electrons at you.

      --
      After all, I am strangely colored.
    13. Re:Sample Code by dexomn · · Score: 1

      Copy that. =)

    14. Re:Sample Code by Anonymous Coward · · Score: 0

      "The interview test question was worded "write a solution for find the exit path from a maze from any starting point". OK, college algorithms class stuff, I thought. I'm a bit rusty but I remember the general techniques."
      ----

      Just follow the right(or left) wall and you'll always get out the exit.
      hey, they didn't ask for the shortest route. :-)

      BTW, I think I learnt that one from batman.

    15. Re:Sample Code by c0d3r · · Score: 1

      Because some stupid recruiter told me it was a great company and didn't even mentioned it was VB. They also sent me to another VB interview and I walked out in some 5 minutes into the interview. Interestingly the person interviewing me used to work at the company I walked out of.

    16. Re:Sample Code by F'Nok · · Score: 1

      That is only true if there are no circle paths in the maze.

      It works for some mazes, not all.

  8. use educational examples by huckda · · Score: 5, Interesting

    i.e. for bash scripting:

    give yourself some common tasks:

    create scripts for them...

    i.e. create a script to fetch updates and notify you via mail(or some other means) when they are downloaded and ready for installation.

    create a script that analyzes log files(yes these things have all been done by many others and you can download them in tool-kits...but that's not the point)

    create a script that updates other scripts dynamically based on what they find out...

    --
    "Just Smile and Nod." --Huck
    1. Re:use educational examples by neokushan · · Score: 1

      Create a script that scans slashdot for a new article and posts a "frosty piss" comment.

      Honestly, I'm surprised it hasn't been done yet.

      --
      +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
    2. Re:use educational examples by Anonymous Coward · · Score: 0

      i.e. = id est = that is

      e.g. = exempli gratia = for the sake of example

  9. Write an open source project by DarkHelmet · · Score: 1

    Seriously... Writing an open source project was my foot in the door for doing web development for a living.

    --
    /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
  10. And this is why... by chaboud · · Score: 5, Insightful

    You should have side projects.

    The big win with side projects that are entirely under your control is that the code is entirely your style. Almost all of the code that you write for work will have some legacy or shortcut warts, but your self-made utility code can be entirely of your own style and principles. This can be good or bad.

    If you don't have any code that you can show, ask your prospective employer to concoct a reasonable example.

    If you don't have any code of your own to show them, that tells them something. If they can't come up with a reasonable task for you to demonstrate your abilities, that tells you something.

    1. Re:And this is why... by Octorian · · Score: 1

      Of course it can go both ways... You might not be able to spend as much time polishing up the code to your side projects as you can on something you do all day long at work.

      However, in the end, I think having side projects is extremely useful for exactly this purpose. (Probably extra points if its some open-source project that people actually use.)

    2. Re:And this is why... by Anonymous Coward · · Score: 0

      The downside with "side projects" is that your understanding of your IP agreement with your current employer better be rock-solid... overarching IP agreements are very much the norm these days.

  11. jedi by npace · · Score: 4, Funny

    Use uber obfuscated code: Example: #define w "Hk~HdA=Jk|Jk~LSyL[{M[wMcxNksNss:" http://www0.us.ioccc.org/years.html

    1. Re:jedi by Hektor_Troy · · Score: 1

      And what the hell does that do? No, I'm not fireing up anything to try it - well, maybe apart from burning my geek card.

      --
      We do not live in the 21st century. We live in the 20 second century.
    2. Re:jedi by nacturation · · Score: 1
      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  12. If you don't write software at home... by MythoBeast · · Score: 4, Insightful

    Generally, when looking for software engineers or system administrators, I try to find the people who enjoy what they do enough that they don't mind doing it when they get off of work. If you haven't written anything interesting outside of work, and you're completely uninterested in doing so, then this automatically drops you down a notch among those that I would hire.

    Beyond that, though, you can't show prospective employers things that you've done for other companies unless you own the source code. On the other hand, the company you wrote it for absolutely cannot bar you from producing derivative works from memory. That would result in devaluating your skill set, which is considered an unconscionable harm by our courts. Write something similar but less ambitious at home and present that instead.

    --
    Wake up - the future is arriving faster than you think.
    1. Re:If you don't write software at home... by tomhudson · · Score: 4, Insightful

      This is on the right track, but I think that there's another aspect of any candidate that could be gleaned in a half-hour ... their ability to *think*. Being able to write code is only half the job (the easy half). Give them a goal, and ask them to describe on the board their thought processes as they analyse the problem, and how they'd go about doing the data design, the code, etc.

      You'll get a feel for whether they're agile on their feet, enthusiastic, can grok something quickly and come up with some useful ideas, etc., without actually having them sit a a computer and write code. If they get lost at this stage, there's no need to see any code.

      It also lets you see if they're a "I know this particular "hammer", so everything looks like a nail that's best whacked with that particular hammer" type of dev., or whether they actually have a grounding in more than one solution.

      It's a LOT more accurate than a written test at weeding out the "I can write the code if you hold my hand" types. You'll *know* if they're enthusiastic or not.

      Alternatively, just ask for their slashdot user id, or just say "CowboyNeal". (Don't laugh - it works).

    2. Re:If you don't write software at home... by cjb658 · · Score: 4, Insightful

      After spending 8+ hours in a cubicle writing code, the last thing I'd want to do at the end of the day is come home and write more code.

      The same is true if I spend the entire day opening up computers and repairing them, setting up networks, etc.

    3. Re:If you don't write software at home... by javajedi · · Score: 3, Insightful

      Dude. I write code for free. The salary is just so I'll sit through the meetings and deal with my coworkers.

      If you don't love writing code so much that you want to do it when you get home, maybe you just shouldn't be writing code. Life is too short to do something you don't love for a living.

    4. Re:If you don't write software at home... by kv9 · · Score: 2, Insightful

      that's pretty sad.

    5. Re:If you don't write software at home... by Anonymous Coward · · Score: 5, Interesting

      Oh please.

      There are some of us that enjoy our jobs and the tasks we do there but have other interests outside of work. I'm a Sys Admin. It was my "dream job" from the time I took my first comp sci class. I love what I do, I love the challenges I am presented with. But I don't run my own Solaris boxes at home so that I can play around even more when I get off work. I have too many other interests; other things I enjoy doing. That doesn't make me bad at my job. In fact I think it protects me from a lot of the burnout that I see happen in I.T.

    6. Re:If you don't write software at home... by Octorian · · Score: 1

      The key is to make your personal projects different enough from your work projects. To most "normal" people, the boatload of completely different computer-related things we all do is just "the same thing," and all they know to even think of when we mention what we do is their "stupid Windows problems." But we should know better.

      For example, the vast majority of the code I write at home is C# for Windows. At home, I mostly do embedded Java for BlackBerry. Just keep what you do different enough that it broadens your skillset and doesn't feel like more of the same.

    7. Re:If you don't write software at home... by bluelip · · Score: 1

      nah, if it's interesting work, you'll find time to pursue your own projects on the side.

      I'm not saying you must code or swap pci cards 24/7, but if you're really interested in what you do, you'll have some side projects.

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
    8. Re:If you don't write software at home... by maxume · · Score: 1

      Who says he is looking to hire sane, well adjusted people?

      --
      Nerd rage is the funniest rage.
    9. Re:If you don't write software at home... by mrbluze · · Score: 1

      After spending 8+ hours in a cubicle writing code, the last thing I'd want to do at the end of the day is come home and write more code.

      Agreed. But OTOH I followed some advice long ago that went something like "whatever your passion in life is, don't let it be what you do for a living". It sounds counter-intuitive (and you may argue it is stupid), but the logic is that if you're passionate about programming, then it will find its way into anything you do. Better to get into some other profession first and have expertise in it. Pretty soon you'll find yourself making bits and pieces of code each day that fit in with your regular work, at the behest of your boss (or as a side business).

      I'm not a master programmer by any means, but I've never stopped coding since I was twelve and now I'm making a good deal extra money at my job with my coding projects, but I can dictate how much I do. It's enough for it never to get boring.

      --
      Do it yourself, because no one else will do it yourself. [beta blockade 10-17 Feb]
    10. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      If you don't love writing code so much that you want to do it when you get home, maybe you just shouldn't be writing code. Life is too short to do something you don't love for a living.

      I don't write much code at work, so my response isn't 100% relevant, but...

      I, generally speaking, thoroughly enjoy the work I do (mainly networking, some sysadmin stuff). But I don't necessarily enjoy dealing with the requirements that my boss/clients put on the work that I do. And sometimes it isn't a whole lot of fun to turn out work for these people. Sometimes it's downright frustrating and unpleasant. And after such a day at work the last thing I want to do is play with my network.

      Additionally, I enjoy many other things in life than just the few things I get paid for. I enjoy spending time with my wife and kids, I like reading, I enjoy going to the movies, I play some video games... Just because I love what I do for a living doesn't mean that there's nothing else I'd rather be doing.

    11. Re:If you don't write software at home... by KermodeBear · · Score: 3, Insightful

      That is far too idyllic for the real world. As true as it may be, doing something I love for a living would mean having little to no income. It simple is not feasible.

      And so I suffer through 8-10 hours a day of writing code and putting up with my coworkers. It isn't fun - but I get paid to do it. I get paid pretty well, too. Enough that I stay.

      At least I can pursue something I do enjoy in my free time. Currently looking into a Wildlife Rehabilitation license.

      --
      Love sees no species.
    12. Re:If you don't write software at home... by dubious_1 · · Score: 0, Troll

      I respect your feelings, but then again, I don't have to hire you. You may be an awesome coder ( actually, I don't hire coders, I hire engineers ), but there are many of those, and you are just another.
      If you have never had an interest in exploring your craft outside of work, you probably aren't who I am looking for.

    13. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      Thats why, I just never go home.

    14. Re:If you don't write software at home... by kdawgud · · Score: 1

      I'm with cjb658 on this one. For me, however, it's not that I don't like to code. I would simply rather spend non-work time with family, getting exercise, and enjoying life.

      Also, eye strain keeps me from spending too many additional hours at the computer screen if I can avoid it.

    15. Re:If you don't write software at home... by exley · · Score: 1

      If you don't love writing code so much that you want to do it when you get home, maybe you just shouldn't be writing code.

      That's great when it works out that way for a person. Not everyone is so lucky, and many (probably most) have other interests and ways they want to spend their time outside of work, even when they like or love their jobs. I think if you're doing a job you enjoy, that's great. It doesn't have to be your hobby too. If it is, though, more power to ya.

      What sucks is for the people who have jobs they truly hate. But in some cases they may be limited for some valid reason. Or they're willing to work a job they hate just for the money. Or some other reason. Everyone has different goals, different interests, different priorities, different reasons. And there are always compromises in life.

      As the saying goes, your mileage may vary.

    16. Re:If you don't write software at home... by Foerstner · · Score: 3, Funny

      Life is too short to do something you don't love for a living.

      You know, you're right.

      Incidentally, I'm looking for a job that includes reading scifi books, drinking diet soda, and driving sports cars. I don't have any code to show you, but to demonstrate my qualifications, I'd be happy to offer commentary on the books I've read, show you the mountain of empty cans in my recycle bin, and get the state to verify my clean driving record.

      --
      The US free market: two halves of a government-granted duopoly are free to set the market price.
    17. Re:If you don't write software at home... by gatkinso · · Score: 1

      Two months of working in a CMMI Level 3 shop will cure you of that attitude mister.

      --
      I am very small, utmostly microscopic.
    18. Re:If you don't write software at home... by tfiedler · · Score: 1

      generally people like you suck to work for, and in general, people like you who post stuff like this don't actually have a real job so your whole story is generally a fabrication. seriously, you're probably the kind of micromanager that would ask an interviewer something esoteric from a man page because you yourself are too stupid to actually possess true diagnostic prowess, and therefore are resigned to points of minutia because they are the only way you can feel superior to other more qualified people.

      --
      Democrats and Republicans are like AIDS and Cancer, I want neither!
    19. Re:If you don't write software at home... by falconwolf · · Score: 2, Insightful

      Generally, when looking for software engineers or system administrators, I try to find the people who enjoy what they do enough that they don't mind doing it when they get off of work. If you haven't written anything interesting outside of work, and you're completely uninterested in doing so, then this automatically drops you down a notch among those that I would hire.

      You look for people who live to work not for those who work to live? Or just someone who's single minded?

      Falcon

    20. Re:If you don't write software at home... by falconwolf · · Score: 1

      If you don't love writing code so much that you want to do it when you get home, maybe you just shouldn't be writing code. Life is too short to do something you don't love for a living.

      Stop bothering me honey, if you keep asking me to do things with you I'll leave you so I can write code.

      Falcon

    21. Re:If you don't write software at home... by Anonymous Coward · · Score: 1, Insightful

      The vast majority of human beings have exactly that existence. There are only so many lucky ones who get to follow their passion (if they have one) and only the luckiest of them get to actually have good work environments where they can shine. Even for those of us who love coding, there's noisy/distracting cubicles, constant interruptions, stupid deadlines, micromanagement, insane coding style mandates, worthless proprietary tools that you "have" to use, and so on and so forth.
      At the end of the day, you go home and your mind is fucking numb and even though you might have some projects you'd like to work on, you're barely even coherent enough to even play a video game. So that leaves the weekend (assuming you don't have to work then) and somehow you have to squeeze in time to do chores, cook, go grocery shopping, and hopefully get out of the house and have at least a tiny bit of actual social life (even if that just means playing some D&D with your buds).
      In any event, if everyone followed your suggestion, then nobody would work the shitty jobs (which means most of them) and therefore the whole system would collapse because it's not based on what people feel like doing, but rather what people will accept to do for a certain amount of compensation.

    22. Re:If you don't write software at home... by skelly33 · · Score: 2, Insightful

      Amen. Interviewees who make it to my top three are the ones who are passionate about something that they've done on their own which is as technically demanding as the position. I specifically look for bright people who are self motivated - you can't get more self motivated than doing the stuff on your own free time. That does not mean a pale-faced social recluse who never leaves the basement.

    23. Re:If you don't write software at home... by barzok · · Score: 4, Interesting

      If you don't love writing code so much that you want to do it when you get home, maybe you just shouldn't be writing code. Life is too short to do something you don't love for a living.

      Work to live, don't live to work.

      I love programming. I really do. It's interesting, exciting and challenging.

      But when I leave the office, I have a wife, a kid, a house and 2 pets. They need me, and I need them. And if I'm hiring & employing someone, I want to make sure that they're maintaining a good work/life balance and not burning themselves out doing just one thing.

      My bosses & co-workers insist that I not stay late on a regular basis. They don't want me on-call (I told them I thought I needed a pager due to a system I support; they disagreed). When I'm on vacation, they yell at me if they find out I've been checking email or voicemail. When I leave the office each day, they want me living my own life outside the bounds of what my job description says.

      And as a result my overall quality of life is far, far better than it was at my previous place of employment.

    24. Re:If you don't write software at home... by Mongoose+Disciple · · Score: 4, Insightful

      If you don't love writing code so much that you want to do it when you get home, maybe you just shouldn't be writing code.

      I disagree here.

      I'm a coder. Sure, I have shitty projects or shitty clients sometimes, but overall, I love my job. It's great that I get paid to do something I enjoy and am good at.

      But, you know? A lot of the time, 40 or so hours of it in a week is enough. It's possible to love something in moderation and have room for other interests in your life. I wouldn't want to do any of the other things I enjoy for more than about a third of my waking time in a week, either.

    25. Re:If you don't write software at home... by Free+the+Cowards · · Score: 0

      And the fact of the matter is that, as somebody who just codes for the money, you are less valuable than somebody who codes because he loves it, all else being equal.

      --
      If you mod me Overrated, you are admitting that you have no penis.
    26. Re:If you don't write software at home... by falconwolf · · Score: 1

      OTOH I followed some advice long ago that went something like "whatever your passion in life is, don't let it be what you do for a living".

      I've heard the opposite, do what you love to do. The problem, which can happen with either one is that you'll burnout or come to hate what you're doing. a possible solution is to make sure you have other interests and take up hobbies that have nothing to do with work. While in college though I majored in Computer Engineering, I took classes that had nothing to do with computers, engineering, or science. I took dance and theatre classes as well as scuba diving. Actually I got some flak from other students because of that, but I wonder how many of those who gave me some got burnt out.

      Falcon

    27. Re:If you don't write software at home... by corbettw · · Score: 2, Insightful

      If you haven't written anything interesting outside of work, and you're completely uninterested in doing so, then this automatically drops you down a notch among those that I would hire.

      So in other words, you don't hire guys with wives, children, dogs, bowling teams, dart tournaments, Warhammer league nights, wine clubs, poker buddies, or who are going to night school to finish their degree? Because you're missing out on some really great employees when you do that.

      --
      God invented whiskey so the Irish would not rule the world.
    28. Re:If you don't write software at home... by DogDude · · Score: 1

      As a manager/owner, I'd rather have somebody that codes for the money. They'll do what I ask them to do without any kind of touch-feely emotional/philosophical bullshit to get in the way of getting the job done. Whether they like doing it or not is largely irrelevant. Most people don't "enjoy" their jobs. That's why it's called "work".

      --
      I don't respond to AC's.
    29. Re:If you don't write software at home... by syrinx · · Score: 2, Insightful

      So in other words, you don't hire guys with wives, children, dogs, bowling teams, dart tournaments, Warhammer league nights, wine clubs, poker buddies, or who are going to night school to finish their degree? Because you're missing out on some really great employees when you do that.

      As they say at Initech: "You should always be asking yourself: Is this good for the company?" I don't think employees' dogs or poker games (or dogs playing poker?) contribute to the stock price!

      In other words: The grandparent poster doesn't want to hire you, but you probably don't want to work for them, either.

      --
      Quidquid latine dictum sit, altum sonatur.
    30. Re:If you don't write software at home... by Anonymous Coward · · Score: 1, Insightful

      Wow. You should get out more.

    31. Re:If you don't write software at home... by cjb658 · · Score: 1

      Obligatory Simpsons quote:

      (from the episode when Homer was a food critic)
      Homer: I can't believe they're paying me to eat!
      Bart: Now if you could just get someone to pay you for scratching your butt, we'd be on easy street.

    32. Re:If you don't write software at home... by Rakishi · · Score: 1

      Generally, when looking for software engineers or system administrators, I try to find the people who enjoy what they do enough that they don't mind doing it when they get off of work. If you haven't written anything interesting outside of work, and you're completely uninterested in doing so, then this automatically drops you down a notch among those that I would hire.

      There is a difference between not minding something and actually doing it. I enjoy programming however I get enough of it at work to fulfill my needs. Since I can pretty much code in any way I want at work and choose a lot of what I work on I have no need to code something "more interesting" at home. There is of course also a lack of time as there are other hobbies and interests that I have. As a result which while I've coded as a hobby in college (open source, etc.) I simply don't have much desire to do so now.

      The final nail in the coffin is that I simply don't like dealing with all the tedious aspects of coding/project management which makes me horrid for maintaining long term projects. This makes it very difficult to create any decent hobby projects (that others can use) since I can pretty much get bored after a while.

    33. Re:If you don't write software at home... by Free+the+Cowards · · Score: 2, Insightful

      That "emotional/philosophical bullshit" is often what causes a programmer to choose the technique that will scale enough to still be viable in a year, rather than the easier one that will fall down in a month. It's often what causes a programmer to write clear code for the next guy, instead of spaghetti that's easy to turn out now.

      --
      If you mod me Overrated, you are admitting that you have no penis.
    34. Re:If you don't write software at home... by SilentBob0727 · · Score: 2, Insightful

      That's great if you want programmers with absolutely zero insight into the code they're asked to write. So many managers complain that they ask their developers to do a "simple task" and it doesn't get done because the developers get "uppity". Get a clue. We wouldn't be "uppity" if the task you were asking us to perform truly were simple. Usually what you are asking us to do is impossible, impractical, will probably break something you previously asked us to do, or is vague and we need more information. But you don't want to be bothered with pesky details. No, developers that hate their jobs so much that they'll churn out shitty code without a word are a stronger asset than developers that will alert you to potential problems with their "emotional/philosophical bullshit".

      Look, programming simply isn't assembly-line work, and managers like you just don't get that. It takes insight, wisdom, planning, years of experience, and a love of the craft to code well. It's NOT a nose-to-the-grindstone, clock-in-clock-out, don't-disturb-the-water skill, or they'd have built robots to do it already.

      --
      Life would be easier if I had the source code.
    35. Re:If you don't write software at home... by XopherMV · · Score: 1

      "Exploring your craft outside of work" == burnout

      If all you do is code year in and year out for 40+ hours a week at work and several extra hours each night at home, then at some point you will break down. It's just a matter of when. You can't live a real life when you are that busy. And yes, living a real life does become important at some point in all of our lives.

      Hiring people that eventually burn out is certainly not good for your business.

      There is a reason people talk about work/life balance: it is extremely important for longevity in this field.

    36. Re:If you don't write software at home... by bladesjester · · Score: 2, Insightful

      Do you have any idea how many times I've said that on this site (and how many times I've been told how wrong I was by people who, in my opinion, don't actually work anywhere)? lol

      On a side note, I'd *love* to find a sane company like that. A place that wants me to have a healthy work/life balance? Yes, please. Those are far too freaking rare from what I've seen.

      --
      Everything I need to know I learned by killing smart people and eating their brains.
    37. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      like post on slashdot, apparently.

    38. Re:If you don't write software at home... by MythoBeast · · Score: 1

      See, you just don't get it. I ENJOY programming. I like it that I can earn money at it, but I'd do it even if I weren't being paid for it. For some of us, coding is a recreational activity.

      It doesn't make you bad at your job, but it means that you are doing it for a paycheck. That'll always fall short of those people who code because they enjoy making the computers dance.

      --
      Wake up - the future is arriving faster than you think.
    39. Re:If you don't write software at home... by toddestan · · Score: 2, Insightful

      Even if you love writing code, do you also love optomizing code, debugging code, troubleshooting, checking for corner cases, and all that stuff you would want to do to a piece of code before you would consider it presentable as a code sample?

    40. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      "If you have never had an interest in exploring your craft outside of work, you probably aren't who I am looking for."

      Translation:

      I need you to work for free on your own time, evenings and weekends. I like to assign projects with unrealistic time lines because dammit if my life has to suck your's does too.

    41. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      No, you just don't get it. I enjoy my work but I have other interests that I enjoy just as much. I have a great job with a fantastic boss and very, very rarely do I ever need to take work home.

      And duh, obviously I am doing it for a paycheck...I like to eat once in a while and having a roof over my head when it rains or snows is nice. But, would I rather be doing something else for that paycheck? Heck no. That's what I mean about loving what I do.

      If you think that someone is less valuable as an employee because they are not always immersed in coding or networking or whatever, then you are unfortunately going to pass up some very valuable people. People that can think creatively to solve a problem because they expand their minds doing other tasks.

    42. Re:If you don't write software at home... by AuMatar · · Score: 1

      You know, I used to do home projects, a decade or so ago. I stopped. I find that 8 hours a day of coding is quite enough. I have better mental health, and I'm more enthusiastic at work if I work on other hobbies at home. That may be a good rule for students just getting out of college, but once you get a few years out almost no one side codes anymore- family, friends, etc take more importance, and there's just not enough hours in the day.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    43. Re:If you don't write software at home... by MythoBeast · · Score: 1

      Wow, all that from a personal preference for programmers who actually like programming instead of considering it yet another way to avoid manual labor. You're quite bright, I'm sure.

      --
      Wake up - the future is arriving faster than you think.
    44. Re:If you don't write software at home... by MythoBeast · · Score: 1

      No, I look for people who have a zest for life, but just happen to get some of their thrill from the act of creation inherent in designing and building working systems.

      --
      Wake up - the future is arriving faster than you think.
    45. Re:If you don't write software at home... by spagthorpe · · Score: 1

      Don't then. Someone that is more into coding and _does_ have side projects in their off time might get the job you're applying for. Simple as that.

      I work my ass off as well, but I find that doing my own thing, a specific type of game programming, tends to relax me.

      --

      WWJD -- What Would Jimi Do?
      (Smash amp, burn guitar, take home the groupies)

    46. Re:If you don't write software at home... by BradMajors · · Score: 1

      It appears you are not interested in what a candidate knows, nor what a candidate has accomplished, but rather the methodology he uses.

      When I hire a contractor to do some carpentry on my house I do not ask him what types of hammers or nails he uses.

    47. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      Generally, when looking for software engineers or system administrators, I try to find the people who enjoy what they do enough that they don't mind doing it when they get off of work. If you haven't written anything interesting outside of work, and you're completely uninterested in doing so, then this automatically drops you down a notch among those that I would hire.

      That expectation would knock you down a notch if I were interviewing you to supervise my developers. I don't expect them to be hobbiest developers any more than I expect you to be a hobbiest supervisor.

    48. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      Hear Hear!

      I've been coding since I was in grade 4 (self taught on a C64, first basic then assembler) For the record I'm now 34 as of a few weeks ago. I obviously love what I'm doing or I wouldn't have done it for so long. But do I code a damn thing when I come home from work? 99% of the time, that would be a no, I'll do things with my wife, I'll play with my dog, I'll hang out with friends, I'll practice music, I'll do martial arts, I'll workout at the gym, I'll cook a gourmet meal, I'll ride my motorcycle up a mountain pass, the list goes on. If all you do is code, I'm sorry boys, but you've barely scratched the surface, there are many interesting challenges out there that aren't related in any way shape or form to technology and will make use of something other than the left side of your brain ;) Stop being so safe!

    49. Re:If you don't write software at home... by BeforeCoffee · · Score: 1

      I've used my homebrew projects as references, and they show very well to prospective employers. I've also dabbled in producing a little open source, and the source code for that is easy to show and reference.

      As a professional software developer, it's my responsibility to keep my skills sharp. Coding has always felt as much craft as science to me, and I love the craft so I don't mind doing lots of homework.

      I have noticed that prospective employers want to see that you can work with a large code base. Show you can manage and create many libraries from scratch and tie them all together in the runtime. Demonstrate instances of reuse if you can. Of course show them you're proficient with an xUnit tool and show them your test suites. If you can make it all sound sexy with war stories, it will be easy to sell your talents.

      In my opinion, if you know how to code it would be irresponsible not to try to constantly develop business ideas from scratch. Many barriers to entry are so low in the .com business, there are so many niche markets to jump into, and there are so many routes to success. This is why I think every coder worth his salt who would like something more than a paycheck w/ occasional bonus should do a homebrew coding project and try to make a business out of it.

      My current homebrew project is CardMeeting, which I've been working on since 2006 in my spare time, and I think it has some potential there.

      The open source project I referred to is CeeFIT, a C++ port of Ward Cunningham's Framework for Integrated Tests.

      In all cases, I tried to do home work that has nothing to do with my day job - just to keep the two separate. Also, I intentionally bit off challenging problems that I was not sure I could solve. I think it's ok to set yourself up for a little failure here and there, it's all part of the learning process and testing your limits.

      Cheers,
      Dave

    50. Re:If you don't write software at home... by Atti+K. · · Score: 1

      Sometimes (when business is slow) i spend 8+ hours at work just browsing and wasting time, and have no problem continuing at home :)

      --
      .sig: No such file or directory
    51. Re:If you don't write software at home... by mrbluze · · Score: 1

      Actually I got some flak from other students because of that, but I wonder how many of those who gave me some got burnt out.

      Well the advice I was given was by a dentist whose son had burn out from his software analyst job. He just didn't have any outside hobbies and had enough. Would have been better to have a life outside to start with. I don't know the research data on it (if there is any) but I am sure that computer science / engineering jobs have an over-representation of one or another personality trait, probably something which lends itself to people with narrow interests. Anyway thanks for your considered response.

      --
      Do it yourself, because no one else will do it yourself. [beta blockade 10-17 Feb]
    52. Re:If you don't write software at home... by sticky_charris · · Score: 1

      Exactly. I remember a Radio4 interview with the then top guy at the Bank of England. He loved the challenges of his job, and have obviously got to the top of his profession. He made the point that however much you love your job, one has to get perspective through past-times to enjoy it fully. This may relate more to non-technical roles, although I feel that it is right enough. He said that his past time was fly fishing: making a tiny bundle of feathers dance on the water 20 yards away required so much concentration that it would allow him to clear his mind of all work related problems, thus gaining the perspective to do his job properly.

    53. Re:If you don't write software at home... by tomhudson · · Score: 1

      It appears you are not interested in what a candidate knows, nor what a candidate has accomplished, but rather the methodology he uses.

      When I hire a contractor to do some carpentry on my house I do not ask him what types of hammers or nails he uses.

      Carpentry has been around for thousands of years. Accomplishing a task is pretty straight-forward. Need a deck built? There's plenty of plans, lists of materials, step-by-step instructions, etc. Need custom software built? You need to draw up your own plans, figure out all the steps, etc.

      Come back in a couple of thousand years, and maybe then your analogy will hold up.

      In the meantime, if the person can't even get a handle on the problem, who gives a shit on how they might code? Damn straignt I want to know their thought processes. that's one reason you'll see something like a RATIONALE: section in lots of documentation - explaining WHY something was done in a particular way. You don't need that for a deck, or a house, and the maintenance of fixed structures is also much more straight-forward.

      Are you related to BadCarAnalogyGuy?

    54. Re:If you don't write software at home... by cjb658 · · Score: 1

      Don't then. Someone that is more into coding and _does_ have side projects in their off time might get the job you're applying for. Simple as that.

      Yup, that's already happened.

      It's why I decided not to be a programmer.

    55. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      I'd look for the opposite, unless I wanted someone to sit in a cave an write code by themselves. Your opinion, to me, is a poor way to look for people.

      I love what I do for work, I'm a consultant/dba/admin/developer, but I'm also a musician. I also have a dog. I also like to run. I also play soccer. I also hunt and fish. I also like to read. And so on...

      Now, I would be a much better candidate than someone who spends all their time coding.

      The reason I say that is that being able to make something work for a client will get you paid. No doubt.

      Being able to make something work, and then go out for dinner or a beer and relate to the people you're working for (who don't know the technical side of what you do, or you wouldn't be there) is what's important. That's what gets you remembered, and recommended to others by your client.

    56. Re:If you don't write software at home... by Nethead · · Score: 1

      Alternatively, just ask for their slashdot user id,

      Where do I apply?

      --
      -- I have a private email server in my basement.
    57. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      And if I found out that you weren't going to provide training in my craft during work hours so I don't get burnt out, have my wife leave me, lose my friends etc because I'm in front of a monitor all the time, and at the same time saying it would hurt my career with whatever department you are in, then I don't have to accept any "offer" you give me. (and for the record, I've always been offered a job after an interview)

      As arrogant as it might sound, you'd be the one on the losing end, not me. I feel pretty confident in that statement based on my career thus far.

      I don't work for anyone that doesn't realize that I am selling my time to them. Time is a finite resource, I only have so much (and it becomes more valuable the older I get), and I'm only willing to sell so much of it to others.

    58. Re:If you don't write software at home... by Hektor_Troy · · Score: 1

      Find a job at an engineering company and not a software company. In my experience, the software company expects that you live, eat, drink, breathe and piss code 24 hours a day, that you'll LOVE developing/coding so much that the 40 hour work week can be extended to 80 without overtime.

      The engineering company doesn't expect that. Why? Because most of their employees are engineers who work on stuff like houses, bridges, boats, cars, medication, electrical design etc., where quantity over quantaty gets people injured or killed and the company bankrupt.

      Hell, the last engineering company I worked for refused to let me give an updated version of a program to our clients until everything was documented - and not just in the code. Afterwhich my boss gave me a strange look and asked why the hell I had that odd smile on my face.

      --
      We do not live in the 21st century. We live in the 20 second century.
    59. Re:If you don't write software at home... by joost · · Score: 1

      After spending 8+ hours in a cubicle writing code, the last thing I'd want to do at the end of the day is come home and write more code.

      Hmm, dunno. Maybe the coding at home isn't your problem, the cubicle is your problem. I work from home and occasionally at a client's, but I'm always free to just walk around a bit, drink a soda, make a sandwich, watch Top Gear....

      I would be able to code 16 hours a day. I don't because I occasionally go to movies and stuff.

    60. Re:If you don't write software at home... by joost · · Score: 1

      Incidentally, I'm looking for a job that includes reading scifi books, drinking diet soda, and driving sports cars.

      You meant to be sarcastic, but you know what? It is possible. Everything is possible. GP was right when he said life's too short to do something you dislike every day. I mean, every day?! Think of what that does to you. I would (and have) give a shitty job two weeks max before I'm out.

      And no, I've never been out of work (knocks on wood) and have always enjoyed doing what I do. You should try it.

    61. Re:If you don't write software at home... by dslbrian · · Score: 1

      There are some of us that enjoy our jobs and the tasks we do there but have other interests outside of work.

      I think people are ok as long as their hobbies don't resemble their work TOO much. When your hobbies start to look like work then they start to feel like work, and then it ends up feeling like your working 24/7. If that happens you can totally burnout on an activity, and then end up absolutely hating it.

      I've known sysadmins who ended up like that. Personally I do hardware design at work (IC design specifically), and although I could probably go off and design some embedded or application specific IC as a hobby, I doubt after a full day of doing it at work I could get the enthusiasm charged up for it. It would really feel like a 2nd job. The closest thing I do as a hobby is some small embedded projects using off the shelf parts. It's easy, has immediate and tangible results, and involves some coding (all things which are different than IC design).

      I would imagine it's like that regardless of occupation (I know professional graphic artists who don't do art as a hobby).

    62. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      Yeah, I love coding so much that, during my own time at home, I start writing code when my kid start yelling her top off because she's hungry. That's exactly what I want to do. Believe me, I always tell everyone that I love my job! I just never mention what some people expect from it: I don't want to sell my soul to you. You're going to pay me to write code for you while I'm in the office. You also don't want me to use the skills I gather while working at your company, during my own free time to write OSS. What some companies are asking for, are slaves, not employees. They want to employ only people without a social life. Well, good luck to them! t0m

    63. Re:If you don't write software at home... by falconwolf · · Score: 1

      I look for people who have a zest for life, but just happen to get some of their thrill from the act of creation inherent in designing and building working systems.

      Two of my hobbies deals with designing and building, creating. One is gardening, I love to watch something I plant and take care of whether from seed or seedling grow into some beautiful. Especially if you can eat what's grown. A few days ago while I was watering my garden early in the morning someone walking his dog asked me how I was able to grow my tomato plants so big, some of them are about 5 feet high but he said his are scrawny. Others asked how I got my salad greens to grow so much.

      Another hobby is photography, I love to shoot things growing, nature, rocks, and water mostly though I like to shoot people sometimes. The creation of the exposure is the beginning, I then like working in a darkroom to develop and make prints. When I get a DSLR, I'm on disability now and don't work so I can't afford one but hope to break into photography, I'll want to learn digital processes as well.

      As part of photography I want to develop a software suite to do everything I can from billing, a database of photos and customers, to creating websites for photographers. Some years ago while in college, jr college, working on a programming degree because I needed one more elective I took a photography class and quite a few photography students expressed interest in having their own websites, as an online portfolio and or as a store. After hearing that and thinking about it a while I wondered about combining the two and setup a computer system to run a photography business for myself first then setup such systems for other photographers as well.

      Falcon

    64. Re:If you don't write software at home... by Anonymous Coward · · Score: 0

      I'd like to add that many IT guys spend MUCH more than 40h a week at work. Would you like them to code at home as well? You must be nuts!

    65. Re:If you don't write software at home... by Free+the+Cowards · · Score: 1

      There are quite a few people out there who get paid to review books and sports cars. I don't know about the sodas.

      In any case, you got things backwards. You don't have to do everything you love for a living. Just find one thing that you love that you can also get money from.

      If there is nothing you love that will give you money, then somewhere along the line you screwed up. But it's not too late to change. Start exploring career options and see if you can find something you love. You're bound to come across something if you look hard enough.

      --
      If you mod me Overrated, you are admitting that you have no penis.
    66. Re:If you don't write software at home... by javajedi · · Score: 1

      Jesus, how do you even get out of bed in the morning? :)

    67. Re:If you don't write software at home... by spinkham · · Score: 1

      No, some of us get it.
      We also have wives, kids, and other hobbies that we do outside of work.
      Yes, I do some coding outside of working hours on things for myself, but not nearly as much as I put time into my family, my friends, my house, etc..
      Time relaxing and enjoying yourself and others can make you much more creative and energetic at your work rather then just another burnt out techie.

      --
      Blessed are the pessimists, for they have made backups.
    68. Re:If you don't write software at home... by spinkham · · Score: 1

      I would argue that a happy, well rested, social programmer is going to do a better job and "contribute to the stock price" more then someone working 80 hours, burnt out, overcaffinated, undersocialized, etc.
      Of course, there's a lot of middle ground here, but great employees work for great employers who let them be creative and social individuals rather then overdriven cogs in the machine. Sometimes that means you code on open source in your spare time, and some times that means you enjoy time recharging with your friends / spouse. Good companies hire people, not "human resources".

      --
      Blessed are the pessimists, for they have made backups.
    69. Re:If you don't write software at home... by deodiaus2 · · Score: 1

      Well, I have other things to do during the day. For example, practice my karate, make dinner, work on the yard, visit my friends, clean the house (especially the bathroom), pay the bills, spend time with my wife and kids, take care of problems and issues. Of course, you have a maid/lawn/pool/mechanic/wife service for that. On top of that, one should realize that to be cultured and educated, one should be diversified. What's the sense of being able to memorize some computer stuff if you cannot read, write and analyze other things in life. One big shortcoming of various technical educations is that they completely disregard education in non-technical disciplines. I have met too many programmers who really knew their technology, but were utter morons in other aspects of their life. That's fine for them, but that's not what I want to be. I wonder, do lawyers come home and work on keeping up their profession, as well as keep up their computer skills? Most computer skills I have learned I have had to drop. It goes out of date faster than Elvis paraphernalia. I think I forgot my Jovial precedence rules as well as CDC Cyber OS syntax. Its a good thing I post to slashdot or I'd forget how to write things other than tech specs.

    70. Re:If you don't write software at home... by MythoBeast · · Score: 1

      I also have a wife, to kids, two dogs, three cats, and about six hobbies. I never suggested that you should program to the exclusion of the rest of your life. However, if you never see software engineering as a solution to any of your problems at home, then what does that say about your interest in the medium?

      --
      Wake up - the future is arriving faster than you think.
  13. Use basic CS test material by bugnuts · · Score: 4, Interesting

    Grab a couple computer science tests, some Knuth books, or ACM programming contest sheets.

    Find a simple problem (one that'll take 10-30 minutes to code) and write it up nicely in a couple different languages. Use at least one OO language if you know one.

    Discuss the projects you worked on, but tell them it was work for hire and stress that you respect the privacy of the other companies, but you brought other code samples for them to see.

    1. Re:Use basic CS test material by Anonymous Coward · · Score: 0

      Yeah, that's a good way to find a CS student. "Some Knuth books", oh please.

  14. Been there by Anonymous Coward · · Score: 4, Informative

    I've been in that situation. My potential future employer asked to see some of my code. What I did was:
    1) I directed them to some open-source code I'd written.
    2) I told them that I could not show them the code I was working on at my current job, but I said they could ask my colleague about the quality of that code.
    One good thing about 2) is that it also tells the future employer that you're not going to show *their* code around after you leave. Oh, and I got the job, although I chose to go to another company.

  15. Snippets are good. by xzaph · · Score: 1

    Find pieces of your code that show smart solutions to individual problems. Things that aren't a complete app, but illustrate your ability to find smart ways to deal with tricky situations. Provide a general context, just enough to understand the problem you were trying to solve. The way you manage to explain and document the situation and the methodology you used to solve it is almost as helpful as the code itself - they both go to illustrate your ability to confront, understand, and deal with development issues.

  16. Samples not needed for experianced employees by Toddsa · · Score: 3, Interesting

    If you have been in the industry before and are looking to join a software company like M$ or others they will typically not ask for samples. If you get to the interview you will have to demonstrate in real time your skills.

    It is a big red flag if a company asks for samples before hand. It usally indicates you are interviewing at non tech company or they have inferior managers whom can not weed out candidates well.

  17. Code at home by Anonymous Coward · · Score: 0

    Really? You never wrote any code at home? In your spare time?
    Never wondered how application X does Y...and could i make it better?
    Open source or not, it doesn't matter. If you dont love what you're doing, (that is, being a programmer), then don't do it man.
    You may say: but the money....
    Well, what about the money?
    There are here today, the money were here in '97, they won't be here tomorrow.
    If you really don't love programming, you would be better off finding something else to do. You will never excel, you will never strive to be the best as a programmer.
    You know, work is work. You do what they tell you.
    but at home? At home i can go wild. I can invent 1 billion new things, i can test all my theories, i can fail and try again. And i don't care. I'm having fun. I'm relaxing.

  18. Never seen it by Threni · · Score: 1

    > and almost all of them demand that you not only have professional experience, but also that you show samples of your work.

    I've never heard of that. Keep looking - you'll find somewhere soon.

    1. Re:Never seen it by id+est · · Score: 1

      I have never been asked to bring in code samples. Nor have I ever seen this in any job ad.

      Todd (original poster), or anyone else for that matter; exactly which companies are asking you for code samples.

  19. 1000 lines of good code by Animats · · Score: 5, Funny

    I used to ask applicants for 1000 lines of C++ they were proud of. Sometimes you get something really beautiful. Something that's at least decently designed and looks reliable is essential.

    I've been known to send such samples back with "Your first buffer overflow is on line 42. Thank you for your interest." I couldn't afford to deal with sloppy coders in a hard real time environment.

    1. Re:1000 lines of good code by Anonymous Coward · · Score: 3, Insightful

      You sir are an asshole.

    2. Re:1000 lines of good code by Anonymous Coward · · Score: 0

      Yeah, I find a good indicator of asshole-ness is the phrase "I've been known to". It just reeks of self-satisfied smug bastardry.

    3. Re:1000 lines of good code by KermodeBear · · Score: 1

      But it does weed out people who aren't careful and don't know their stuff as well as they think they do. At least this guy sends them a response - most employers I know just ignore you completely if they're not interested. And, to his credit, he points out what is wrong, which is great for learning.

      --
      Love sees no species.
    4. Re:1000 lines of good code by LanceUppercut · · Score: 2, Insightful

      No, most of the time it indicates that it is the reviewer that either a) doesn't know his stuff or b) thinks that everything that doesn't comply with his favorite one and only true coding standard is flawed.

      Needless to say, judging by the tone of that poster he's not the type that would even consider reading a further response from the code author explaining why there's really no buffer overflow in line 42.

    5. Re:1000 lines of good code by thegrassyknowl · · Score: 1

      I ask if they have any code that they are allowed to show me; I try and be specific about personal projects they've done and am pretty vocal about them not bringing in proprietary code.

      A lot of potential candidates are just 'career programmers'; idiots who got a Uni degree then a programming job because someone said they'd earn good money. You can usually tell them because they're very eager to talk dollars (and usually far higher than market rate) at the first interview and they spin off a lot of current buzzwords completely out of context.

      If you can't pick it at the interview they're usually also the ones who can't direct you to any code they have written outside of work. They claim NDA and all sorts of other things.

      The great programmers will point you at websites, OSS projects or even email in a copy of the home automation controller they wrote for their own home with a note saying "It's mine, please respect that".

      My advice to the OP is to work on a project in your own time that you can show the code to. It doesn't even have to be FOSS if you want to keep it close to your chest. Just find a task that you need done and that interests you and write some code to do it; even if it's only a few hundred lines of good code it's something you can show down the track.

      I have a pet project that's been running for a few years (just for me, it's not public) and I've thrown in samples of code that I wrote from it. I also have a few image processing modules I wrote as part of my Ph.D research that I can demonstrate.

      --
      I drink to make other people interesting!
    6. Re:1000 lines of good code by Anonymous Coward · · Score: 0

      ... because I'm unable to claim I'm a programmer and get away from my McDonald's job, because you expect people to actually program.

    7. Re:1000 lines of good code by K.+S.+Kyosuke · · Score: 1

      I couldn't afford to deal with sloppy coders in a hard real time environment.

      Because they would have...a really hard time in your environment?

      --
      Ezekiel 23:20
    8. Re:1000 lines of good code by ozzee · · Score: 1

      Actually, it's pretty common. If you have had time to write code, it should be the best code you can write.

      It works the other way too. I once was required to give some code to solve a problem using standard C++. In the interview, the interviewer said, there were a number of problems with my code, it turned out that each and every "problem" was because the interviewer was not aware of how C++ handled it. So then he said, well, our compiler flags an error - to which I said, then your compiler is not standard C++ so if you want code that runs on your compiler, you need to specify it... Down hill quick.

      Needless to say, I didn't get the job and I probably would have sucked there anyway. Since I rely on people actually knowing what they're asking for. It's a major character flaw of mine to fail to apply ESP and give people what they want rather than what they ask for - I'm working on it....

      Moral of the story, just because you don't get the job does not mean you can't do the job better than the interviewer. Interviews are flawed but there are few better alternatives to interviewing.

    9. Re:1000 lines of good code by Creepy+Crawler · · Score: 1

      Well... Is there any set of C/C++ code that would compile cleanly on all "good compilers"?

      It would seem that certain compilers would throw warnings and other "naughty naughty" garbage without truly erroring the compiler.

      I guess you'd have to know the specific enviromnent and version of the compiler. Fun :(

      --
    10. Re:1000 lines of good code by Anonymous Coward · · Score: 2, Funny

      Any of them come back with, "no, it's actually the third. But thanks for failing the test I give my potential employers."

    11. Re:1000 lines of good code by smellotron · · Score: 1

      "buffer overflow" != "coding standard preference". If something's wrong, it's wrong, no style guidelines needed.

      Though I think it's a bit harsh to knock someone out because of a single error. What if that was the only mistake? What's the likelihood of a reviewer seeing a "perfect" solution that has 2 overflow vulnerabilities? Better to read through the whole thing and respond with a more comprehensive list of problems, and see if they get back with patches / updates to their code. It's more time-consuming, but it's worth it to select the right people to work alongside.

    12. Re:1000 lines of good code by smellotron · · Score: 1

      It's a major character flaw of mine to fail to apply ESP and give people what they want rather than what they ask for - I'm working on it....

      I know a guy who argues the same point (nobody sympathizes with him either). Kinda makes it hard to deal with any social aspect of humanity, since most communication is nonverbal or implied.

    13. Re:1000 lines of good code by TheLink · · Score: 1

      I actually rely on most people not having a clue at all. And though I don't have much of a clue, sadly for the world (but not that bad for me) it seems I'm significantly above average (and I don't even know C++).

      If you do consulting, the customer is NOT always right. The customer is usually wrong - that's why they need you! If the customer is always right, then they wouldn't need you except if you are willing to be cheap labour to do boring crap they have no time and resources to do themselves, or if you're there just to be blamed when something goes wrong. You don't want those jobs. Don't forget to let the customer make the final decision (or at least think they're making the decision - e.g. pick a card any card but from just this safe set).

      If you're a coder in full time employment (not consultant), if possible you should try to forsee what they would want months down the line and write the code so it's easier to do it later.

      I've designed and written stuff, so that though people (and the boss) _insist_ they don't need feature X (despite me saying they'll probably want it), months later when they say "Hey, marketing says we need feature X", I just add a few lines of code (or even change the config to: enable_feature_X=>1 :) ), read Slashdot etc, test stuff, work on other stuff and after a suitable time say "voila here's feature X". You can't just deliver feature X immediately to them - that'll be stupid (go figure what happens if you keep doing that).

      Anyway if you want to make stuff for people, you ask them what they want, after a while you have a bunch of dots (requirements). You look at the dots and hopefully you see a picture that the dots draw. If you don't have enough dots to make a good picture, or the picture doesn't make sense, you go back and try to get better/more dots.

      Of course if they say "I want a cat" and you know they need and want a cat, just get them one (make fat/thin/fur/colour/tail configurable).

      But for more complicated stuff, if you really think people have a clue and can provide ALL the dots to draw out a really good picture, then you're wrong. You'll have "all" the dots, but the result is going to be an ugly mess. Think of a "join the dots" picture drawn by each committee getting to put 30 dots in.

      Asking for a full detailed set of requirements so that you can just implement exactly those, is like an architect asking clueless people, on _every_ detail of what they want in their dream house.

      It does make for better CYA. But a crappier result IMO.

      --
    14. Re:1000 lines of good code by Anonymous Coward · · Score: 0

      I've been known to send such samples back with "Your first buffer overflow is on line 42. Thank you for your interest." I couldn't afford to deal with sloppy coders in a hard real time environment.

      Oooohh, you're such a two-fisted manager fuck. Can I go to bed with you?

      If you're such an arropgant hotcock coder, maybe you're too valuable to piss away in management.

    15. Re:1000 lines of good code by laejoh · · Score: 0

      It's C++, wouldn't that make him a classhole instead?

    16. Re:1000 lines of good code by Anonymous Coward · · Score: 0

      then on the 41st line i'd call you an arrogant pleb

    17. Re:1000 lines of good code by TheRaven64 · · Score: 1

      C89 is pretty much guaranteed to work everywhere. I don't think anyone has ever implemented all of any version of C++. There are a couple of good C99 implementations, but it's nowhere near as universal as C89.

      --
      I am TheRaven on Soylent News
    18. Re:1000 lines of good code by Anonymous Coward · · Score: 0

      I've been known to be a self-satisfied smug bastard, you insensitive clod!

    19. Re:1000 lines of good code by Anonymous Coward · · Score: 0

      I don't feel comfortable publicly admitting that I've written 1000 lines of C++.

  20. You are a fool for signing a non-compete in the fi by Anonymous Coward · · Score: 0
    If you hadn't have signed a non-compete, you wouldn't be in this predicament. Don't ever sign one!!! EVER!!!

    Nobody, under ANY condition, should sign a non-compete. I've walked out of a job interview because the company required a pre-employment non-compete that extended a year after the employment period ended. So I worked for one of their competitors, and ended up negotiating a better salary. If your employer requires a non-compete, that is a giant red flag, and you should start looking for a better job immediately.

    If your company requires a non-compete, there is probably a reason for it. Usually it is because they had employees leave the company to go work for their competitors. Skip the legal hassle, don't sign one, and work for one of their competitors.

    Before signing a non-compete consider this:

    - Do you want to be bound to your master for life?
    - Do you really want to be stuck in your job because you can't afford to wait the non-compete out?
    - Is the salary worth being legally unemployable? Remember, you can't get unemployment when you are bound to a non-compete.
    - Do you have enough 'FU money' to fight your ex-employer in court?

    The solution is, don't sign them... unless you can negotiate full severance pay during the period of unemployment into the deal... then consider it a ticket to a paid vacation.

  21. Sample Code by $0.02 · · Score: 2, Funny

    10 PRINT "Sample Code" : 20 GOTO 10

    --
    If enithin kan gow rong it whil. (Murfey)
  22. Open Source by CustomDesigned · · Score: 2, Interesting

    Make sure you contribute at least some of your time to open source projects. That you can show.

  23. Personal Projects? OSS Work? by lewiscr · · Score: 1

    Don't you people do code outside of work? What kind of "for the love of coding" programmer are you?

    Admittedly, my personal project code is a wee bit dated (it's older than my children), but it's more current than my resume...

  24. Some won't actually mind... by DrYak · · Score: 3, Informative

    would THEY like you to show work you did for them, later on, to OTHER employers?

    Some company won't actually mind.

    Not every single line of code a developper may write while working in a place is of utmost strategic importance and has to remain secret or otherwise the company will go bankrupt.

    The developer should ask his/her supervisors for proper clearance to show some code that isn't a vital part for the company's survival on the market place. i.e.: Maybe you can't show the source code of the product the company is selling, but you can show the source code to tools you have developed to simplify your work.
    In fact some places even authorize you to release such non-critical side project under open-source licenses.

    Of course this is much easier when you work in a small company. If there are 10'000 developers in you company it's hard to check everyone's code for clearances.
    ...

    Of course as other /.ers have said, the home projects are much better candidates to be shown in an interview.
    Unless you work for a paranoid "sell your soul" companies which insist everything developer while under contract belongs, even home projects.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Some won't actually mind... by falconwolf · · Score: 1

      The developer should ask his/her supervisors for proper clearance to show some code that isn't a vital part for the company's survival on the market place.

      This could work for or against you. When you ask your super will know you're at least looking for a new job. If they want to keep you you may be given a better offer however if not then you may find yourself without a job. Of course if you know your super well you should have an idea of what the reaction will be.

      Of course as other /.ers have said, the home projects are much better candidates to be shown in an interview.

      I think this is where open source projects can come in handy. If you've worked on one and had code inserted into a project there's no problem with sharing what you contributed. Having contributed code, a potential employer may find your name on one or more projects when they Google your name.

      Of course this could be a problem as well, some employers wouldn't like to employ anyone who's worked on FOOS. If so though and you don't have a problem with it then you know you probably shouldn't work for them.

      Falcon

    2. Re:Some won't actually mind... by Anonymous Coward · · Score: 0

      Unless you work for a paranoid "sell your soul" companies which insist everything developer while under contract belongs, even home projects

      You ever hired on at IBM? IIRC, if you're a programmer, at least on paper they want the rights to any product of your intellect while you're employed by them, including, but not limited to, poetry, operas, new designs for bicycle chains, any patentable new sexual techniques, ... -- essentially anything you fail to list on what you might call "an intellectual pre-nuptial agreement".

    3. Re:Some won't actually mind... by omglolbah · · Score: 1

      Do what I did at my former job...

      Due to time constranits and plain moronic management of our development department most of the code used in the highly specific systems are owned by me personally...

      The reason for this is that during my regular work hours I got put doing maintenance and McJob-ish work like tech support (my email doesnt update!) etc.. So I had to do most of the actual dev work on my own time then 'sell' it to my employer.

      Needless to say I have them by the proverbial balls at this point :-p
      Amusing how they refused me a raise when I got a job offer that paid 8k USD more a year .

      Now... What about those license deals my old boss-man! *cackles madly*

      .

    4. Re:Some won't actually mind... by fishbowl · · Score: 1

      >When you ask your super will know you're at least looking for a new job.

      Making this clear early and consistently, tends to make you more valuable in retention terms.

      My current employer has been well aware that I work for this organization for specific benefits,
      that I am taking a third of the usual pay at my professional level, and they are grateful.

      If you *aren't* "looking for a new job" you're complacent. This can have the opposite effect
      of what you expect.

      --
      -fb Everything not expressly forbidden is now mandatory.
    5. Re:Some won't actually mind... by falconwolf · · Score: 1

      >When you ask your super will know you're at least looking for a new job.

      Making this clear early and consistently, tends to make you more valuable in retention terms.

      Yes, if they want to keep you. But it seems businesses are looking for ways to cut expenses, and one way is by cutting employees and having the rest do more or by letting go of employees who have been on the payroll longer and higher new ones at lower pay levels. If they aren't offshore outsourcing.

      My current employer has been well aware that I work for this organization for specific benefits, that I am taking a third of the usual pay at my professional level, and they are grateful.

      I'm on disability and don't work but I'd like to do some volunteer work. I love gardening and there's a university extension garden who uses volunteers. Besides working in the garden I was thinking of doing some photography and working on their website. Unfortunately it's a bit of a drive for me and with gas prices it would cost me more than I'm willing to pay to do some volunteering.

      If you *aren't* "looking for a new job" you're complacent. This can have the opposite effect of what you expect.

      No, if you're not "looking to get ahead" you may be complacent. Then again if you are then you're also part of the rat race. Perhaps what someone can do is look to see if they can generate some income from a hobby, they shouldn't push it though.

      Falcon

    6. Re:Some won't actually mind... by fishbowl · · Score: 1

      >Yes, if they want to keep you. But it seems businesses are looking for ways to cut expenses, and one way is by cutting employees and
      >having the rest do more or by letting go of employees who have been on the payroll longer and higher new ones at lower pay levels. If
      >they aren't offshore outsourcing.

      I once believed as you do, but I've learned that the correlation is not as straightforward as this.
      I've seen the "dedicated sycophant" types be the first (and only!) ones to go.

      --
      -fb Everything not expressly forbidden is now mandatory.
  25. Re:You are a fool for signing a non-compete in the by timmarhy · · Score: 1
    You are looking at non-compete's in the wrong light. the reason for the non-compete is so that the company doesn't have to compete against it's own employee's. while i agree some douche bag company's try and misuse it, their are valid uses for it.

    unless your in upper management i don't see a non-compete being useful for a software programmer. i signed one once as a contractor when i was working on a highly specialised bit of software, it contained lots of business logic and proccess knowledge that the company didn't want me running away with (and rightly so). It didn't affect me in the slightest though i'd never choose to work in that industry ever again.

    --
    If you mod me down, I will become more powerful than you can imagine....
  26. Turnabout is fair play. by GGardner · · Score: 1

    Remember, you are interviewing the company just as much as the are interviewing you. So, I'd ask them to see a sample of their code base you'd be working on. If they stammer and say it is proprietary, well, maybe the code you've worked on in the past is too... If they apologize for the code, then maybe you know what you might be getting into.

    1. Re:Turnabout is fair play. by dubious_1 · · Score: 1, Flamebait

      so this is the dumbest answer I have read today. Yes you are assessing them as they are assessing you, but if you respond in this way, you will be found to be combative and if I was interviewing you, I would probably escort you out at the end of the interview.
      Being asked to demonstrate your skills is completely valid. It is nearly impossible to fairly assess someone in an hour based solely on Q&A.
      I recommend bringing a portfolio of some work you have done ( again this must be your own property ). I also recommend googling for common programming interview questions and being prepared to answer them ( yes, even the lame finding a cycle in a linked list one ). This is basic homework, and shows that you take the position seriously.

    2. Re:Turnabout is fair play. by Anonymous+Brave+Guy · · Score: 1

      And why should any skilled professional take your position seriously if you consider him combative just for asking a basic question about your company?

      I now require before agreeing to an interview that any potential employer be prepared to show me:

      • a decent-sized sample of code from a real project
      • a decent-sized sample of documentation from a real project
      • a summary of their software development process

      Any employer who is unwilling or unable to provide all of the above at my first interview gets ruled out unless they have some truly spectacular compensating appeal.

      IMNSHO, this is fair play. Actually, it's more than fair: from my career to date, it is a statistical certainty that the average code and documentation I write is better than the average standard at any employer where I have interviewed. (It doesn't really matter whether anyone else reading this chooses to believe me, though I have no reason to lie here; when I'm considering where to offer my skills on a professional basis, my opinion of the potential employer is the only one that counts anyway.)

      The technical lead on the project where I started with my current employer was quite surprised when I told him that I had nearly turned down the job offer because of an interview question where they showed me a sample of some code with the function name blanked out and asked me to work out what it did. It hadn't occurred to them that I would be judging the general standard of their code based on every sample I saw during the interview process, and that since the function in question sucked in several obvious ways this would give a negative impression.

      You are, of course, perfectly entitled to decide not to interview someone like me if you have a problem with my attitude. It's your company, and you can hire who you like, give or take a few anti-discrimination laws at least. Any hardline policy at interviews inevitably means that you will lose out on hiring some good people, but sometimes that's good business sense if you still expect to be able to hire other good people and the savings from the policy cut your costs. But this works the other way, too. My choice in this respect may result in my not getting interviews at some good companies where I might enjoy working, but I accept that, because I am confident of my own abilities and have never had trouble finding a decent job quickly whenever I have wanted to move.

      Basically, life is too short to voluntarily spend 40 hours a week working for places who judge who to employ on code samples they didn't see written in front of them and answers to cute programming trivia questions (both bad signs for the robustness of their recruitment process and therefore the calibre of your future work colleagues), yet can't or won't show that despite this they are still a worthwhile place to work. I've spent too many years working for companies who seemed great at interview but turned out to be unpleasant because they suffered from institutional incompetence to risk it again.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    3. Re:Turnabout is fair play. by dubious_1 · · Score: 1

      You are absolutely right.
      But timing is important in this process.
      If you are as awesome as you say, then besides being the exceptional case, you should understand that the hiring process is not a single interview.

      Can you ask to review a code base that you will be working on, or review the processes used by the company? Absolutely. Should you expect that they may require you to sign an NDA before showing you some of this, again absolutely.
      This would all be part of a follow up session.

      The process is:
      1. Submit resume
      2. HR vets candidates -- key word match, phone call
      3. Possibly if HR is unsure, a senior technical person will call and have a conversation.
      4. Invited in for on-site interviews. This is where you assess the company for culture, location, facilities, and as much as possible who works there. The company tries to asses you for professional qualifications ( is your resume a load of bs ( it is amazing how many people pad their resume, claiming to be a network protocol expert when they have written a simple client server app)) and personality for a fit.
      5. If the company is interested, then you should ask to discuss exactly what project you would be working on, and to see some design or process documentation, code etc. It may at this time be necessary for you to sign an NDA before getting access, and you make your own determination if that is fair or not.

      If you are a "super star", or a known entity ( someone at the company knows you, or you or you are a generally recognized expert in your area) then this process will be different; but for the majority of us folks, this is pretty much normal.

    4. Re:Turnabout is fair play. by Anonymous+Brave+Guy · · Score: 1

      I'm not claiming to be some super-genius programmer, though it's probably safe to assume I'm above average. But this doesn't really matter: the point is that I am a professional, and my time that I give up to interview is valuable to me just as the company's resources it commits to an interview are valuable to it. Interviews are one of those things that tend to wind up being led by the company and pretty one-sided, but to any professional who is good at what they do there is no particular reason they should accept this and potentially wind up making a time-consuming mistake taking a job at a poor employer as a result.

      You're absolutely right that the recruitment process is not just a single interview, and I have no problem with places that want me to sign to say I won't disclose any of their confidential information I see during the process. If a company does a quick phone screen first, that's fine too, a half-hour phone call is no big commitment for either of us. However, I do ask about this when I'm invited for a first on-site interview, and I decline to attend that interview if the company can't guarantee to provide the samples I require. It is, after all, one of the main things I will use to decide whether to accept any offer they might make me, not some minor detail that can be sorted out as a formality later.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  27. This is BS. by Anonymous Coward · · Score: 0

    You can't show them even a *part* of your code? I seriously doubt the code you've written is so utterly transparent and obvious and *applicable* to your prospective employer that you absolutely cannot show them any part of it. What total BS.

    Show them a clever loop invariant you came up with, or a neat subclass you created so solve a problem, or a unique but helpful GUI feature. There are lots of ways to do this.

    If you told me, in an interview, that you couldn't show me *any* of you code, or describe it or write a sample in suitably generic way, I (a) wouldn't believe you, and (b) wouldn't hire you.

    1. Re:This is BS. by Anonymous Coward · · Score: 0

      I've never seen an NDA with a "unless in your judgment it doesn't matter" exception. You'll probably get away with it, but you are in fact violating the contract you signed.

    2. Re:This is BS. by Anonymous+Brave+Guy · · Score: 2, Insightful

      You'll probably get away with it, but you are in fact violating the contract you signed.

      And worse, you have just demonstrated to a potential future employer that you are untrustworthy in this respect. If you were a bank manager, would you hire someone to handle cash when they had a criminal record for fraud or theft?

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  28. Strategy by Anonymous Coward · · Score: 0

    If they interview four times as many people as usual under these terms, they will get enough cool trick code samples for their existing staff to pay for all of the advertising and interviewer costs WITHOUT hiring anyone at all.

    If they hit the lottery they might find someone with real skills with a market value of 50% of what s/he is worth to them

    More anonymous than coward and my password is guest.

    1. Re:Strategy by dubious_1 · · Score: 4, Informative

      I am corrected, Previously I responded that something was the dumbest post, but you win.

      Really, do you think that you are so awesome that the crappy little code sample that you are showing me is going to blow my mind. Do you realize how unlikely it is that your sample code is even remotely related to the problem I am working on at that moment?

      I want to see an example of what you have written in the past for a few reasons:
      1. It shows me your style. Do you design before coding? this is usually evident by simple elegant solutions. An experienced programmer/engineer can tell alot from a small sample.
      2. This is much more fair than me presenting you with some problem out of the blue. I am giving you as much time as you want to compose your solution. This is the audition part of the process.
      3. I will be asking you questions about this example code to determine that it was in fact you who designed/wrote it, and to understand the thought process that you followed. This has 2 purposes.
          a. I figure out if you are trying to bs me.
          b. You get a chance to see what the caliber of your peers will be based upon the quality of my questions ( and I am working on the spot, without a net).

      Interviewing should not be considered combat. I want to like you, and I want to hire you. I am asking 4-8 of my staff to take an hour out of their day to talk with you and see if you will be an asset to our organization.

      A great interview is a conversation, not an interrogation. We both have something that the other wants and we are conversing to see if we are a mutual fit.

    2. Re:Strategy by GGardner · · Score: 1

      What the heck? If I'm going to be spending my working days manipulating a large base of existing code, why can't I see it before I sign on the dotted line? I'm perfectly happy to show you mine, as long as you show me yours...

  29. WRITE A by mrmeval · · Score: 1

    [csagan]
    free sofWare project used by billiuns and billiuns.
    [/csagan]

    --
    I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
  30. Never asked for code samples when hiring by Anonymous Coward · · Score: 0

    I have NEVER asked for a code sample in an ad. Anyone I would consider hiring won't be able to show me code they wrote at a previous company. If the candidate has worked on an open source project, that is great. They can show me that. Otherwise we get by with what they can show us while being interviewed. We have the time, the average interview takes 6 or 7 hours (including lunch) with multiple people talking to the candidate. Plus at least one or two phone screens to make sure it is worth the time (and expense if we have to pay for travel) to bring them in.

    If someone offered to show me code they had written for another company, or even worse a competitor, I would carefully show them out the door. And then contact our legal department so they know why. I hate HR related lawsuits and this can result in one.

        - Dan (after a zillion years I still haven't made an account here...)

    PS. I work at a large silicon company. The startups I've worked at had similar approaches to interviewing programmers.

  31. Re:Personal Projects? OSS Work? by v1 · · Score: 1

    kind of the same boat for me. Some of the things I am the most proud of are so dated that no one would care about them anymore. The little hacks you do at home can't compete with anything you'll ever do at work.

    I always enjoyed doing things that on the onset seemed impossible, particularly if I was TOLD they were impossible, even if there wasn't a practical value to it. It's all about the challenge isn't it?

    --
    I work for the Department of Redundancy Department.
  32. Whatever you're proud of by Arethan · · Score: 1

    That's half the point. People only ask for code samples for 2 reasons. To measure knowledge, and to measure experience. They could really care less what it actually does, and what it actually does doesn't need to be that impressive. Good code structure, proper use of comments, intelligently named variables, is the code messy or organized, etc. It's just a litmus test designed to weed out the "wannabes" from those that actually do know what the hell they are doing. As an experienced programmer with several languages under my belt, I can look at a snippet of code and tell within a few seconds if the mind behind it really knew what they were doing or not. You'd be surprised the number of degree holders that apply for software engineering jobs, yet don't understand programming logic beyond 'cout "Welcome to my ATM";'.

    The utility of code samples is still questionable, as anyone that asks for them may or may not understand what they are looking at. Even if they did, how do they really know you didn't just clip out a few lines of code from some random open source project?

    The best thing I can suggest for things like this is to provide code you wrote for an open source project. Go find something small and simple that kind of bugs you, and write something to fix it. Post it on SF.net, and call it a day. If anyone asks you for code samples, you can provide them out of that, and even provide a link to the full source, and it's all your original work.

  33. n/t by Anonymous Coward · · Score: 0

    This is where working on open source projects really pays off.

  34. Copyright Requirements by oneal13rru · · Score: 1

    Well, for the purpose of protecting proprietary software, copyright law requires only certain portions of physical code. Anything stored in the Library of Congress as a matter of Preserving Copyright is technically Public Record. Exploit the portions of code within the sections to have been sent in for the purpose of demonstrations, and merely explain you worked on those projects, in a manner that doesn't quite violate the letter of your NDA. http://www.copyright.gov/help/faq/

    --
    Never disregard the raw power inherent to stupidity... they call it "dumb luck" for a reason...
  35. Re:You are a fool for signing a non-compete in the by gujo-odori · · Score: 1

    There are a few things wrong with your post.

    For starters, you're barking up the wrong tree. A non-compete doesn't stop you from showing code samples of work you did for someone else. An NDA does, and frankly, an NDA is not an unreasonable thing to have to sign before working on someone's proprietary code base. It simply provides a legal remedy to the code owner if you fail to honor your moral and legal obligations to keep confidential that which is confidential. I see nothing wrong with that.

    Next, here in California (and some other places; ask your lawyer about your place), non-competes are pretty unenforceable. When I left my previous position, I had a two-year non-compete and was considered a key employee but I went straight to work for a direct competitor anyway. Now, I didn't tell them where I was going (unenforceable or not, I saw no sense in potentially provoking anyone; I gave my new employer a copy of the non-compete as required in the non-compete; they didn't care, and that was all that mattered to me). It was about a year before anyone there who would tell or might care found out where I was working. I don't know if they told, but no one cared. I'm now a few months short of the end of the non-compete. If anyone at my former employer were to now object, my current employer would most likely flip them the legal bird (they have deep enough pockets for that).

    Next, in many places - even California - most employers will ask you to sign a non-compete, even though their legal departments know (or should know, if they are at all competent) that California courts have held NCs to be generally unenforceable. Employers lobbied hard for California to be a right-to-work state, then later found out that's a sword that cuts both ways. Because so many employers (at least in tech industries) will ask you to sign an NC, it's not signing the NC that makes you bound to a master for life, unemployable, stuck in your job, etc. It's refusal to sign one that will do those thing;, if you won't sign one, you will probably find yourself remaining in your current job for a *long* time while you look for an employer that won't ask you to sign an NC.

    I am not a lawyer and this is not legal advice. If you are thinking of breaking a non-compete, you might want to talk to a lawyer first, even in California. If you live in a place were non-competes are enforceable, you might want to consider having your lawyer read it before you sign it.

  36. Re:You are a fool for signing a non-compete in the by Anonymous Coward · · Score: 0

    This is sound advice. Non-compete agreements can cause a lot of damage to your livelihood. Can you afford to be legally forbidden to work in your area of expertise?

    Non-competes WILL interfere with your right to work, and unless you have money to burn on lawyers, it is a good idea to stay far away from such agreements.

    I spent a year unemployed because of a non-compete, and regret working for that employer. The non-compete has inspired me to be very aggressive against my old company, and I am proud to say I took a lot of business from them. In the long run, non-competes are not worth it for either party.

    Save yourself the headache, don't sign them under any condition, period.

  37. I've already done my share of "code samples," thx by NewbieProgrammerMan · · Score: 3, Insightful

    Oh yes, let me rush to burn up 4-8 hours of my time doing some contrived, over-specified programming exercise for each job application. I have a medium-sized stack of bug fixes and improvements to open-source projects I can point to, but that's not good enough for some companies: I have to do their extra-special lame example program, because I might not be uber enough to work at their uber-elite programming company.

    Once upon a time I thought code samples might be a good idea, but now I'm starting to think that it makes a good lameness filter for my next job search. IMHO they just use up everybody's time for very little benefit; you'd almost be better off just hiring them at a low probationary pay rate and see how they actually perform in your work environment.

    --
    [b.belong('us') for b in bases if b.owner() == 'you']
  38. My Strategy by Orion+Blastar · · Score: 1

    is to write programs under an open source license that do the same thing as the programs I was paid to write under a closed source license. Just a different way to solve a problem, and done a much better way than management wanted it done anyway.

    Then show the open source version of software, and say that the originals are closed source but solve the same problems but in a different way so it does not harm the IP of the employer, and can be licensed to be released into a closed source version for a future employer. Also I give them a NDS to read and sign before they can view the open source version. I write the open source version on my own time, at home, and not on the employer's time. But in my case the employers don't have me under contract since 2001/2002, so more than five years of the no compete for five years employment contract is up with them, and I am free to write my own code that may or may not compete with their products.

    Sure it is reinventing the wheel, but it is 100% legal and does not infringe on anyone's IP.

    --
    Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    1. Re:My Strategy by rob1980 · · Score: 1

      is to write programs under an open source license that do the same thing as the programs I was paid to write under a closed source license. Just a different way to solve a problem, and done a much better way than management wanted it done anyway.

      How do you sustain something like that long-term? Bringing your work into your home, redoing what you just spent 8 hours working on and spitting your boss's name while you do it really doesn't sound like my cup of tea. I think I'd get burned out on programming and my job in short order if I did that.

    2. Re:My Strategy by Orion+Blastar · · Score: 1

      You don't bring work home. You don't spit on your boss' name. There is no rush to finish the code you work on in your own time.

      In my example, since I have been out of work since 2002, and on disability, I got a lot of time to write from scratch programs that I wrote a long time ago, but found a better way to do them.

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    3. Re:My Strategy by Anonymous Coward · · Score: 0

      Not to be mean or anything, but if you can code on your own time while on "disability", then why can you not actually work a real job coding? Whats the difference between coding at home and at the office, other than the commute? there are ways around the driving to work for people who cannot drive themselves, wheather that be a public assistance driver service, or just working from home.

      I'm not saying that you are, but i really hate people that abuse disability, unemployment, and welfare programs.

    4. Re:My Strategy by Orion+Blastar · · Score: 1

      It is because people discriminate against me for my disability. Also schizoaffective disorder works in two week cycles. There are up to two weeks cycle each of manic depression, schizophrenia, and normalcy, and during the schizophrenic or manic depressive cycles I can't get as much work done as when I am on a normal cycle and managers cannot understand that and accuse me of not reaching my potential because I have good weeks and bad weeks. Also during bad weeks I have problems remembering things and focusing and concentrating. Managers and employers are supposed to accommodate my disability, but they mostly don't and just tell me to "snap out of it" or I will be fired. When I can't snap out of it, I get fired.

      Seriously I tried a few jobs before I ended up on disability, I kept getting fired for having no control over my mental illness basically. Like telling a person in a wheelchair to get up and walk or be fired, or a deaf person to listen to what the manager is speaking or be fired, or a blind person to read what is on the whiteboard or be fired.

      I keep applying for jobs, in the ticket to work program, but no company wants to hire me. Working at home would be a dream job, but no such job seems to exist for me. I am "too sick" for an employer to hire me, and nobody really seems to care about my well being anywhere in the USA. The ACLU refuses to help me fight the discrimination, and lawyers refuse to take my case as I am mentally ill and thus would make a bad witness in court as they would use my mental illness against me and thus make it a "weak case" or "difficult case".

      If you know of a charity that helps out mentally ill people to go back to work or file discrimination lawsuits, please let me know. Nobody really cares about people like me, and I wasn't always mentally ill, I got mentally ill on the job.

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    5. Re:My Strategy by Orion+Blastar · · Score: 1

      I am not abusing disability, in fact I was forced on it when my doctors ordered me not to work anymore. After I tried to commit suicide I was forced into a hospital and forced on disability, as schizoaffective disorder is generally misunderstood by the public and the paxil I was on caused suicidal thoughts followed by the third job I lost for being "sick" on the job and fired for being sick. I felt that suffering from schzioaffective disorder was a character flaw of mine that didn't really give me a point of living any more, much less working for managers who don't understand what schizoaffective disorder is, and that suffering from it was not my fault or a choice I made to be that way.

      If I had my choice I wouldn't be suffering from schizoaffective disorder and be on disability, but it is not what I want, it is what society wants. They don't want schizoaffective disorder sufferers like me working a job like programming code, they want us locked up in state mental hospitals worse than federal prison instead.

      Most of us with schziaffective disorder end up on disability, one of us, refused to go on disability and wrote Living with Schizoaffective disorder instead, as a way to explain it to normal people. People who don't hear voices or see hallucinations, who don't get depressed and lose sleep or lose the ability to focus or concentrate, for people who can function properly at the work place, even a negative workplace full of stress and people who don't understand than even mentally ill people have civil rights and human rights.

      The misunderstanding of schizoaffective disorder, and the general psychophobia the public has against us, forced me into disability, I didn't choose it, it was chosen for me, because I am sick.

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    6. Re:My Strategy by Anonymous+Brave+Guy · · Score: 1

      My strategy is to write programs under an open source license that do the same thing as the programs I was paid to write under a closed source license. Just a different way to solve a problem, and done a much better way than management wanted it done anyway.

      Sure it is reinventing the wheel, but it is 100% legal and does not infringe on anyone's IP.

      Such behaviour would be an absolutely clear-cut infringement of the IP of any employer where I have ever worked. I never sign blanket "all your IP are belong to us" type contracts, but I've never worked anywhere that wouldn't claim the rights to something directly connected with my work and written during the period of my employment.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  39. Dress and accessorize for your interview by tomhudson · · Score: 5, Funny

    Standing up there shaking while sweating in a suit

    Show some confidence - don't wear a suit to the interview.

    A good-quality shirt if you're a PC, a turtleneck if you're a mac, a T-shirt if you're linux, or a leather jacket if you're *bsd.

    Slacks if you're a PC, black jeans if you're a mac or *bsd, blue jeans if you're linux.

    Dress shoes if you're a PC, loafers if you're a mac, runners if you're linux, boots or sandals if you're *bsd.

    No hat if you're a PC, a kepi if you're a mac, a ballcap if you're linux (a red one if you're Fedora/RHEL), and a shaved head if you're *bsd.

    A briefcase if you're a PC, a leather portfolio if you're a mac, a softsider if you're linux, and a pull-behind carrying a 4u server if you're *bsd.

    A crackberry if you're a PC, an iPhone if you're a mac, any flip-phone if you're linux, Chuck Norris if you're *bsd.

    Your resume in Word if you're a PC, as a video clip if you're a mac, in openoffice if you're linux, and 7-bit clean ASCII if you're *bsd.

    Hide your Zune if you're a PC, subtly show off your iPod if you're a mac, wow them with streamripper if you're linux, and run a script to make the sound of the drive heads seeking play "Take this job and shove it!" if you're *bsd.

    A business card if you're a PC, a mini-dvd if you're a mac, a bootable distro dvd with customized splash screen, borwser, etc., if you're linux, your phone number and email address on the back of a beer coaster if you're *bsd.

    Coca-cola if you're a PC, bottled water if you're a mac, real beer (not that 5% piss) if you're linux, shots if you're *bsd.

    1. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      A mini-dvd if you are a mac? Not in my PowerBook....

    2. Re:Dress and accessorize for your interview by uofitorn · · Score: 1

      That was awesome! Nice job.

      --
      "What kind of music do pirates listen to?" -Paul Maud'dib
      "Yeeeaaarrrrr n' Bee!!" -Stilgar, Leader of Sietch Tabr
    3. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      Dude, you nearly nailed it!

      According to your description I'm Linux all the way except for my black jeans and no hat (I do have a long pony tail, though).

      Just Wednesday I had an unexpected job interview wearing pretty much as you desribed. I was returning a borrowed manual to a friend at his new job and he called his boss in to meet me. I got a call back today and they are preparing an offer.

      I wore jeans - t-shirt - runners to the interviews for the job I've held the last eight years. I didn't want them to think I would show up for work in a suit every day!

      If you are confident enough in your abilities and project that confidence during the interview it won't matter what you're wearing.

    4. Re:Dress and accessorize for your interview by carlzum · · Score: 1

      Your resume in Word if you're a PC, as a video clip if you're a mac, in openoffice if you're linux, and 7-bit clean ASCII if you're *bsd.

      As the hiring manager, I would like to say welcome aboard *bsd!

    5. Re:Dress and accessorize for your interview by UnderCoverPenguin · · Score: 1

      a ballcap if you're linux (a red one if you're Fedora/RHEL)

      Red Felt Fedora

      real beer (not that 5% piss) if you're linux

      Open Cola

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    6. Re:Dress and accessorize for your interview by tomhudson · · Score: 1

      Congratulations!

      There was a survey done where they had HR staff conduct interviews with 2 actors. they told the subject (who were the ones doing the interviews) to interview the two actors, who were supposed to be applying for a graphics arts job. One actor wore a beret, turtle-neck, jeans and sandals, and had a modest portfolio. The other actor wore the suit and tie, and had a much more impressive portfolio.

      Guess which one the HR staff consistently picked? The "hippy-looking one - he *looks* more like an artist."

    7. Re:Dress and accessorize for your interview by tomhudson · · Score: 1

      I've actually had to start using OOo because people just don't want to read reports that look like a man page (sigh)

      So I end up making reports that don't get read, and we instead end up doing a quickie summary on the white board, which I prefer because I can tell if someone's not "getting it."

      Today I learned that the OOo spell checker doesn't know "indices". I knew it would puke on malloc or realloc, but "indices"?

    8. Re:Dress and accessorize for your interview by laddiebuck · · Score: 1

      I'm glad I don't fit into those stereotypes!

      Typical European attire (trousers and shirt; proper shoes or sandals), except from the thrift store, softsider, no mobile phone, resume plaintext, no electronic devices at all, card (although not a "business card"), and shots (of cheap Scotch or gin).

    9. Re:Dress and accessorize for your interview by laddiebuck · · Score: 1

      Oh, and Linux for everyday use, BSD for my servers and gateways.

    10. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      ... a pull-behind carrying a 4u server if you're *bsd.

      ... 7-bit clean ASCII if you're *bsd.

      ... run a script to make the sound of the drive heads seeking play "Take this job and shove it!" if you're *bsd

      Sad as it is to admit, those made my night.

    11. Re:Dress and accessorize for your interview by CoolGopher · · Score: 1


      A good-quality shirt if you're a PC, a turtleneck if you're a mac, a T-shirt if you're linux, or a leather jacket if you're *bsd.

      Check.


      Slacks if you're a PC, black jeans if you're a mac or *bsd, blue jeans if you're linux.

      Check.


      Dress shoes if you're a PC, loafers if you're a mac, runners if you're linux, boots or sandals if you're *bsd.

      Check.


      No hat if you're a PC, a kepi if you're a mac, a ballcap if you're linux (a red one if you're Fedora/RHEL), and a shaved head if you're *bsd.

      Umm... long hair for general *NIX?


      A briefcase if you're a PC, a leather portfolio if you're a mac, a softsider if you're linux, and a pull-behind carrying a 4u server if you're *bsd.

      I don't drag stuff with me (i.e. I don't do jobs requiring laptop hauling any more).


      A crackberry if you're a PC, an iPhone if you're a mac, any flip-phone if you're linux, Chuck Norris if you're *bsd.

      Check. Chuck Norris uses Palm OS, obviously.


      Your resume in Word if you're a PC, as a video clip if you're a mac, in openoffice if you're linux, and 7-bit clean ASCII if you're *bsd.

      Check.


      Hide your Zune if you're a PC, subtly show off your iPod if you're a mac, wow them with streamripper if you're linux, and run a script to make the sound of the drive heads seeking play "Take this job and shove it!" if you're *bsd.

      Damn kids these days with their sound dampened hard drive enclosures!


      A business card if you're a PC, a mini-dvd if you're a mac, a bootable distro dvd with customized splash screen, borwser, etc., if you're linux, your phone number and email address on the back of a beer coaster if you're *bsd.

      Almost check. Was mobile number on a napkin at the local pizza joint.


      Coca-cola if you're a PC, bottled water if you're a mac, real beer (not that 5% piss) if you're linux, shots if you're *bsd.

      I did start with DOS I suppose. But mainly it's that shots are expensive and I have a hard time working out how the hell stuff I wrote while drunk actually works...

      Did I mention that I really really like my job? :)

    12. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      Don't be ridiculous, Macs have slot-loading drives, your mini-DVD will just get jammed in the drive and won't work.

    13. Re:Dress and accessorize for your interview by bladesjester · · Score: 4, Funny

      It's funny that you mention that because I've noticed a similar trend in IT where I am.

      Wear a tie, and you're generally not going to be taken seriously no matter how good you are. The best approach here seems to be a polo, nice sweater, or button up depending on the weather, slacks or khakis (occasionally jeans, depending on the place), and presentable shoes (nothing too fancy. Half the time, plain black tennis shoes work perfectly).

      I used to do the suit and tie thing because that's what everyone tells you to do and because I occasionally like them (yes, I'm weird. It's what I get for some of the things in my past.).

      Now I just walk in wearing a nice polo shirt and khakis and get taken a heck of a lot more seriously because I "look more like a technical person". The irony is that the change came because I got tired of getting dressed up just to end up getting jerked around, so I started walking into interviews wearing what I do on an average day.

      I've occasionally wondered what would happen if I walked into an interview in medieval style clothing. lol

      --
      Everything I need to know I learned by killing smart people and eating their brains.
    14. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      why do the bsd users have to look like sas(s C+?
      can't we pick the semi decent apparel options and leave the pc crowd to wear a button up and slacks?

    15. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      "indexes" in en-US which is the default. I have seen the same thing with formulae/formulas. don't remember more examples. download/switch to en-GB.

    16. Re:Dress and accessorize for your interview by Dr_Barnowl · · Score: 1

      I used to wear a full three piece suit, including a fob watch on a chain.

      I think it's just important you don't look like a typical generic office worker. Nothing says "technical genius" better than sticking out like a sore thumb in a crowd of MBAs.....

    17. Re:Dress and accessorize for your interview by Antique+Geekmeister · · Score: 1

      Suspenders if you used UNIX when it was actually BSD with no prefix.

    18. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      no sandals for *bsd, chucks is the way to go ;-)

    19. Re:Dress and accessorize for your interview by tomhudson · · Score: 1

      Don't be ridiculous, Macs have slot-loading drives, your mini-DVD will just get jammed in the drive and won't work.

      You don't have a firewire or usb connection for an external el-cheapo burner?

    20. Re:Dress and accessorize for your interview by tomhudson · · Score: 1

      why do the bsd users have to look like sas(s C+?
      can't we pick the semi decent apparel options and leave the pc crowd to wear a button up and slacks?

      Poll time!

      [X] bsd kicks ass, so anything bad wearss *is* cool
      [X] It's not cool to be pc (politically correct)
      [X] A leather jacket isn't cool? (okay, not in mid-July in the northern hemisphere)
      [X] I shaved my head for additional cooling for my meat-based cpu, you ignorant clod!
      [X] I wore these shit-kickers to stomp the mac fanboi who stole my sandals
      [X] I don't want the pc crowd to *wear* a button-up, and they're already pretty slack

      Please add your own ...

    21. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      I would rank this reply as (Score:5, Informative)

    22. Re:Dress and accessorize for your interview by Javagator · · Score: 1

      There was only one time when I didn't wear a suit to an interview. That was a second interview at a place that was very casual (there was a dog sleeping on the floor in the hall). It just seems to be what everyone expects (I live on the east coast).

    23. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      None of this will matter. It will be a sham interview since they've already decided to outsource the job. Very likely, you'll be thrown out the window if you're a PC, murdered for being gay if you're a mac, shipped off to gitmo for being a fucking commie terrorist if you're Linux/FOSS

    24. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      >>murdered for being gay if you're a mac,

      Fed to their pet leopard if you're a mac.

      There fixed that to conform to the GP meme.

    25. Re:Dress and accessorize for your interview by jlarocco · · Score: 1

      How could you forget:

      Clean shaven if you're a PC, trendy goatee if you're a mac, two day's stubble if you're linux, long scruffy beard if you're *bsd

    26. Re:Dress and accessorize for your interview by Anonymous Coward · · Score: 0

      HAHAHAHA
      Thanks mate

    27. Re:Dress and accessorize for your interview by MrZaius · · Score: 1

      On a side note, it's generally safe to just ask what they're expecting. If it's a federal or bank job or something of that sort, for instance, you'd be far safer risking a quick pre-interview question to their HR department than showing up in a track suit.

  40. Do some contract work by lewp · · Score: 3, Insightful

    I did some smaller contract work on the cheap with the stipulation that I could use the code I wrote however I wanted. That's where most of my code samples come from. Smaller shops are often willing to compromise in ways bigger corps aren't, especially when it's possible for them to save money.

    You could also just whip up a reasonably professional sample app and explain that your "real" code is locked up with your old employers. Companies worth working for, and recruiters worth talking to, will understand your situation. They probably have clauses in their standard employment contracts that restrict their employees in the same way, after all.

    By the way, this is another good reason to contribute to Free Software.

    --
    Game... blouses.
  41. Three ways off the top of my head by stonecypher · · Score: 1

    how exactly can you show work that you've done in a professional capacity to a prospective employer without violating the privacy of the company for which the code was written?

    1. Write new samples
    2. Request permission to publish snippets from employers
    3. Write more than just the code your job pays you for
    --
    StoneCypher is Full of BS
  42. You can't... by Alien+Being · · Score: 1

    not necessarily. If you can, be professional and treat the documents as (at least somewhat) confidential. Maybe you are willing to discuss a program listing with them, but that the copy you bring leaves with you.

    If you cannot show them work from your previous jobs, show them projects from college or ask for a test.

    Anyway, I suspect that you're dwelling on this issue. Work around it as much as needed.

    Demand that the bulk of your time interviewing is with the people with whom you will work. If you suspect that it isn't the case, then you could be facing a fucked company and you should stay away.

    A previous poster raised an excellent point about seeing some of *their* code. It's far more relevant to the issue at hand - your working there. That's what my company does when they interview. They hired me, but after a while they didn't think I was so hot at the job. To be fair, they might be right. Interviews are always sketchy. But that brings me to my next point.

    Don't be afraid to sell whatever skills you possess beside programming. If you're good with spoken language, systems administration, or a soldering iron, sell it... if it's at all relevant. My company hired me partly because I offered them some ancillary skills. As it turned out, they and I are relying on them to maintain our relationship.

    Find a way to be interested in the job in ways that don't involve programming. Skateboard makers have programmers. If you happen to love skateboarding and you see an ad for some job that's connected to that industry, consider pursuing it aggressively. Jobs don't always turn out the way you expect, but if you *fit in* to a company you have a good chance of finding some happiness.

    Oh, and here's a nice thing to do under certain circumstances. If you *really* think want the job, tell them that you would like to work for them for one week for no salary. You realize that it's too short a time to offer them much real value, but that it's worth the investment in your time and that it's the best way to show them what you have to offer.

  43. Your "personal projects" by Anonymous Coward · · Score: 0

    I generally won't even interview someone unless they can provide me reasonable code samples. This could be as simple as "here's my perl script that sorts my mp3 collection" or "here's my code to navigate a 3d space/time model of the current locations of sattelites".

    I would never expect someone to provide me samples from a previous job. That seems tasteless to ask for or provide.

    I think most people are just looking for stuff you can do on the whiteboard - reverse a linked list, intersect X with Y, blah blah blah.

    I believe the best candidates think of the whiteboard stuff as boring and mundane, and have more interesting personal/side projects they can show you which give you a great idea of their skill and interests. Nothing makes me happier than hearing "I modularized the TCP stack in the 2.4 kernel, just for the hell of it".

    1. Re:Your "personal projects" by gatkinso · · Score: 1

      >> I would never expect someone to provide me samples from a previous job. That seems tasteless to ask for or provide.

      Not to mention probably illegal. And consider that YOUR code will be flashed to the next hiring manager when that someone decides to move on.

      --
      I am very small, utmostly microscopic.
  44. Re:I've already done my share of "code samples," t by Anonymous Coward · · Score: 0

    You sir, fail.

  45. Point them to a subversion or cvs repository... by gatkinso · · Score: 1

    ...that you have contributed to. Specify what work is yours, what is not. Be very clear on this point.

    Do not give directions on how to download the code. Just the URL. It doesn't have to be some big open source project - it could even be hosted on your personal box.

    If someone there actually sees your work without asking for directions, only then would you want to consider working there (or even taking the time to interview.)

    --
    I am very small, utmostly microscopic.
  46. Re:You are a fool for signing a non-compete in the by od05 · · Score: 1

    Where I currently work they do not require non-competes, and it gives me the freedom to be able to leave my job at will. Just remember, if you sign a non-compete, you will have a difficult time switching jobs. If opportunity knocks, and you have a non-compete, you are pretty much screwed.

    Before signing a non-compete, make sure that your company compensates you extra for the added risk of you being unemployable after you stop working there, otherwise, keep looking. Non-competes almost always have severance pay (hush money) in the agreement, be sure that this amount is enough to live off of.

  47. Test within a test by SpcCowboy · · Score: 1

    This is in itself a test: If you provide them code from your previous job, you fail because you are not to be trusted. If you fail to provide them code from your previous job then they can't steal your former employer's secrets, thus you fail. Good luck solving the puzzle.

    --
    -- Anyone who has never made a mistake has never tried anything new. -- Albert Einstein
    1. Re:Test within a test by gatkinso · · Score: 1

      Here sir, is my masters thesis, and by the way fire the above poster for not being able to think about even the most rudimentary solution to a simple problem.

      --
      I am very small, utmostly microscopic.
    2. Re:Test within a test by TheLink · · Score: 1

      Simple: "Here are code samples I wrote for fun, please note the copyright belongs to me".

      If you only write code when you are asked to write code, then you are probably not a good coder.

      If you do that sort of thing you might even be one of those coders who only checks for errors/exceptions when explicitly asked to in the requirements document.

      That's another reason why you should not work at a company where 80 hour weeks are common. So you have time to do other things.

      --
  48. My Excellent Advice by Proudrooster · · Score: 1

    Most hiring is done by managers who haven't give too much thought to YOU. An alarm pops up on their Outlook/Crackberry, they print/grab your resume' and head to the conference room (if you're lucky).

    My strategy has been to bring a binder of code snippets in (courier-new) font organized by language. This is excellent for two reasons, 1) You have something to talk about when they ask you the "Tell me about yourself and what you've been doing." question as they quickly scan your resume' and 2) You will look prepared and competent and be able to talk about the projects and programs you have worked on.

    Additionally, you may also wish to bring some screen shots, business process/data flow diagrams, and a database table relationship diagram to show that you can visualize a complete solution and start with a business process and drill down to database layouts and code. The nice thing about having all this in a book is that you can do a show and tell without leaving your current company's proprietary code lying about. Resist the urge to give out copies, CDs, or organize this into a website since this will keep you out of potential hot water. Remember, you are showing small code snippets, not 10,000 lines of code. The goal is to show off a bit without giving away any secrets.

  49. Re:You are a fool for signing a non-compete in the by timmarhy · · Score: 1
    "and I am proud to say I took a lot of business from them"

    .... and people who do this are the very reason businesses use them. think about it, if you ran a business which had X number of clients who used you for some specialised service how exactly do you protect your business if your own employee's try stealing them along with the idea's they learnt while at the company?

    this was the essence of the non-compete i signed, that i wouldn't run off and start my own business in competeition with my current employer, using their own business methods against them.

    an NDA just doesn't cut it for this, because i'm not technically disclosing anything to anyone. NDA's are only to stop you telling the world someone elses secrets.

    The bottom line is most contracts aren't worth the paper they are written on, and that we ALL sign stinker contracts (check out your mobile phone contract....), but those contracts which aren't fair will lose ultimately. IANAL , but i did get legal advice before i signed the above contract and my lawyer said it was fine. i think getting legal advice is also important if you think something isn't right or your making a big commitment.

    --
    If you mod me down, I will become more powerful than you can imagine....
  50. Ask by daeg · · Score: 2, Informative

    Periodically when you are working (long, long before you are looking for a new job) ask your supervisor if you can use a particular chunk of code as a code sample in your portfolio. Don't pick a mission-critical routine or something business-centric (those won't translate much into most job interviews anyway).

    I've been doing that since my first programming dig and only been denied once.

    Make sure you attribute the copyright and permission accordingly and keep the permission in a safe place (CYA).

  51. Show some confidence - don't wear a suit to the by falconwolf · · Score: 3, Informative

    interview.

    A good-quality shirt if you're a PC, a turtleneck if you're a mac, a T-shirt if you're linux, or a leather jacket if you're *bsd.

    You left out a hemp safari shirt.

    Slacks if you're a PC, black jeans if you're a mac or *bsd, blue jeans if you're linux.

    Cargo shorts.

    No hat if you're a PC, a kepi if you're a mac, a ballcap if you're linux (a red one if you're Fedora/RHEL), and a shaved head if you're *bsd.

    Beret.

    A briefcase if you're a PC, a leather portfolio if you're a mac, a softsider if you're linux, and a pull-behind carrying a 4u server if you're *bsd.

    A backpack.

    Coca-cola if you're a PC, bottled water if you're a mac, real beer (not that 5% piss) if you're linux, shots if you're *bsd.

    Camelback of fruit juice and bottle of homebrew.

    Falcon

    1. Re:Show some confidence - don't wear a suit to the by blhack · · Score: 1

      do not ever put anything other than water in a camelback. It WILL get nasty.

      --
      NewslilySocial News. No lolcats allowed.
    2. Re:Show some confidence - don't wear a suit to the by TheGratefulNet · · Score: 2, Interesting

      (ob disc: I am in the silicon valley area).

      back in the pre-y2k bust, I do remember going to interviews in my shorts, sandals and a tee shirt (often tie dye). and back then, it 'worked' - at least for the companies I tried for. back then (is it still true?) companies liked a rebel and one who was good at his trade, had a good amount of experience in the field and was confident enough without being over the top. shorts and sandals actually helped with all of that ;)

      I would never ever try that on the east coast (where I grew up and spent my first 30 yrs) - but out here, at least back in the dot-com era - it was perfectly fine. perfectly fine.

      --

      --
      "It is now safe to switch off your computer."
    3. Re:Show some confidence - don't wear a suit to the by Anonymous Coward · · Score: 0

      When putting the bottle away for storage, wash it out and put in a couple
      of tablespoons of mint mouthwash. Then to use it, rinse out the mouthwash
      and fill with water, with just a splash of bourbon whiskey.

      It's not a julep, but it's VERY fine tasting water.

  52. Outside projects by giminy · · Score: 1

    A question that I always ask interview candidates is whether they do any programming outside of work. It's a great question to learn whether a person is a Real Geek...folks that program because it's fun for them almost always get involved with some outside project. While I understand that a passionate civil engineer might not have the time/money to build bridges in their free time ;-), software is cheap to do as a hobby. 'Fun' stuff would be great to show your potential employer. Assuming, of course, that you do some ;-).

    --
    The Right Reverend K. Reid Wightman,
  53. Obvious Answer by Killer+Napkin · · Score: 2, Informative

    My manager once went down to a local university to tell the students something about the real world with regards to the job market (and to plant some recruitment seeds while he was at it). This same question came up: what do you show?

    Some people have mentioned that contributions to open source are a great solution, but interview time is not the time to start joining projects. Fortunately, there's an obvious answer...

    The important thing is to demonstrate ability, so the only thing that matters is that the code works and shows you know what you're doing. My manager said the best piece of sample code ever submitted was by a guy who wrote some code specifically for the purpose of interviewing. You'll know what they want to see if you're interviewing and you have plenty of experience with that proprietary stuff you can't show off. Make it work.

    The code doesn't have to simple, but let's not make the code request any more complicated than it has to be.

  54. Re:You are a fool for signing a non-compete in the by timmarhy · · Score: 1
    a "good" non-compete should only limit you to competing directly with your old employer or working for one of their direct competitors for a very limited amount of time.

    IANAL but i can't see how anyone thinks blanket clauses like "you won't work for anyone for 12 months" could cut the mustard in court without them paying you the whole time.

    --
    If you mod me down, I will become more powerful than you can imagine....
  55. From the other side: it can be anyone's code by Anonymous Coward · · Score: 0

    Recently, when interviewing, we asked a similar thing, but with two differences: we asked people to compare and contrast it to some ugly code, and we didn't require that it be their own code.

    What I want to see is that you know the difference between good and bad code, because that's a slowly-acquired judgment skill that I can't teach. If you can't even see that there is a difference, obviously you can't do it. The level at which the comparison was taking place was a big thing. "Meaningful variable names" is trivial; a good applicant will point out well-factored code and clean interfaces.

    And I have to say, it really separated a lot of chaff. We had fun passing around and laughing at some of the applications. There was one memorable one where I liked his "bad code" more than his "good code"; the latter was broken into such small micro-functions with such overly verbose block comments that it was unreadable.

  56. Bourne Again Shell by PenGun · · Score: 0

    This is bash for crying out loud. Just show em' the man page and tell them that is what you do.

  57. Re:You are a fool for signing a non-compete in the by od05 · · Score: 1
    The non-compete has inspired me to be very aggressive against my old company.

    Spite goes a long way, and suing an ex-employee because they chose to work for a competitor can instigate a retaliation.

  58. OSCON by humphrm · · Score: 3, Funny

    Go to OSCON this year, attend the sessions with Larry Wall, Guido van Rossum, Damien Conway, etc. Write down the code samples and then take those to the interview.

    --
    -- "In order to have power, I must be taken seriously." -Mojo Jojo
  59. Community code by KevMar · · Score: 1

    I missed this if someone already said it. I'm not one to go around pushing open source, but contributing to more community projects would be the solution to this.

    That or some personal projects. They could be looking for the people that live and breathe code. They type of people that would write code at home in their own time.

    Just a thought.

    --
    Im a gamer, not a grammer major. This post is full of spelling and grammer mistakes.
  60. Suggestion... by Anonymous Coward · · Score: 0

    1) Write yourself a fancy proprietary encryption algorithm

    2) Encrypt your source code files

    3) Send them to yourself via outside proxy

    4) ???

    5) Get a job and PROFIT!

  61. Just give them your PAUSE ID... by jonadab · · Score: 1

    Give them your PAUSE ID, and let them look your work up on the CPAN. HTH.HAND.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  62. camelbacks by falconwolf · · Score: 1

    do not ever put anything other than water in a camelback. It WILL get nasty.

    I've had Camelbacks for more than 10 years and I've always put juice and soda in it and never had a problem. I run hot soapy water through it and use a brush I have for cleaning the bottles I use for homebrewing. The only problem I've had with Camelbacks is once in a while I have to replace the bladder because of a hole, new bladders used to cost as much as a new Camelback.

    Falcon

  63. References by Joebert · · Score: 1

    I would think that a prospective employer would rather speak with your previous employer than look at your work.

    --
    Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    1. Re:References by Anonymous+Brave+Guy · · Score: 1

      I don't think either of my last two employers even checked references. They considered the cost/benefit unworthwhile: any old company will either do no more than confirming your dates of employment for legal reasons, or say vague nice things about you whether you are good enough to justify those comments or bad enough that the old employer just wants to get rid of you. In any case, short of confirming that you aren't outright lying about past experience on your CV, a reference isn't worth much to a potential employer, and any interviewer worth their salt will soon find out if your CV is completely made up anyway...

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    2. Re:References by Joebert · · Score: 1

      What about the "Would you work with this person again ?" question ?

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    3. Re:References by Anonymous+Brave+Guy · · Score: 1

      It suffers the same problem as all the others. Some places will outright refuse to answer anything subjective, confirming only facts like dates of employment, because of legal worries. If someone does answer it with a positive comment, you have no way to know whether they really meant it or they are just saying it to make it easier for a substandard guy to leave.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    4. Re:References by Joebert · · Score: 1

      You can get a good look at a T-Bone by sticking your head up a bulls ass, but wouldn't you rather take the butchers word for it ?

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
  64. why code samples??? by haroldag · · Score: 2, Insightful

    Ya know, I went out to a bar once and saw this beautiful blue-eyed brunette. Got her a few drinks and one thing led to another...she did not ask me to enumerate which chicks i've been with - she just expected me to make her a woman...

    you get the picture

    Being asked for code samples in an interview is bullshit. It has never happened to me.

    Go find another employer, one who will discuss previous projects, pitfalls, solutions, science, the passion behind what you like to do and what you'd bring to the organization, stuff that demonstrates your ability and skill. No need to kiss and tell.

  65. Why don't you have anything? by adamkennedy · · Score: 4, Insightful

    On behalf of the people that are the ones asking for code samples, your response answers 50% of what the employer is looking for.

    We're not necesarily looking for someone with tons of open source experience, or who does lots of other work at home.

    But for the sort of positions where you DO ask for sample code, you are intentionally looking for people who ARE programmers, not that just DO programming.

    For high level positions, I generally ask for 5,000 lines.

    The really top notch people are going to have SOMETHING they can provide. This could be work on an open source project, or some insane project they only do at home, or even some shareware tool they make some money off on the side.

    But there's generally something.

    If you don't have the code, then the question is no longer one about assesing your programming skills, it's now about assessing your personality and profressionalism. Will you make excuses? Will you write something just for the request? Will you offer to program something?

    I've even had one guy who came to us from a bank that responded, "I can't show you the code, but I could give you the header files and documentation?" (he was hired)

    Since you obviously don't have the code, bear this mind.

    In India (at least until recently) it's fairly easy to hire people cheaply that can't afford or doesn't use a computer at home, for whom programming is something they were only trained for an just do at Their Job.

    If someone is asking for code samples, at that point they DON'T want people of that calibre. They want GOOD people that they can give responsibility to and trust the decisions of safely.

    Your job is to demonstrate that.

    1. Re:Why don't you have anything? by sitarlo · · Score: 1

      What exactly is a high-level programming job? "Team-Lead" - No that's just a patsy who is stupid enough to do supervisory work for nothing. "Senior Engineer" - No that's just the old guy who is rude to everyone because he's mad at the world (or, because he hasn't been laid in 15 years!). "Technical Director" - Doesn't write code. "Programmer III, IV, or V" - Still a minion to some PM who can't tie his own shoes. There are no "high level" programming jobs. I know this because I have held every development-related job there is from Code Monkey to CTO. No matter what your title is, if you write code for money then you are *always* somebody's bitch. If a knucklehead interviewer asked me for 5000 lines of code, I'd send it to them along with a bill. Serious now, don't ask people for large chunks of source code. It's not professional, never has been, and it's too easy to plagiarize anyway.

    2. Re:Why don't you have anything? by Anonymous Coward · · Score: 0

      You're very funny, 5000 lines of perfect documented debugged code can easily take a year to write. And you want that for just a job application?

    3. Re:Why don't you have anything? by knipknap · · Score: 1

      I honestly believe that 90% of the really good programmers would be able to provide this easily. A certain level of expertise can only be reached by working on your own code just for research and fun. Combine this with several years of experience, and I'm sure that you've got to have significant amounts of high quality code lying around. Like the original poster said, it's not asking for code that was written specifically for the job application, it's asking for code that you have already written.

    4. Re:Why don't you have anything? by Anonymous Coward · · Score: 0

      Well, you've at least shown that requests like this do have a purpose. Its to warn the candidate that here is a company you really don't want to work for.

  66. Make a portfolio by wrook · · Score: 2, Interesting

    For the last 4 or 5 years that I was programming for a living I maintained a portfolio. I wrote a small application (about 2000 lines of code). I followed my own personal process for implementing it. I kept the planning, specification and design artifacts (fairly lightweight since I prefer to do something similar to XP).

    Then I chose a couple of interesting areas in the code and annotated them. I explained what I was doing, why I chose a particular design approach, some aspects of my personal coding style, etc, etc.

    The whole thing took me a month or two of working on my own. Then a little bit of time to keep it up to date (based on what I continued to learn over the years). While it was a toy problem, I found the exercise extremely useful for my own personal development. And when I applied for jobs I gave a link to my portfolio on my resume. This gave people a really good idea of what they were getting if they were to hire me.

    I highly recommend any programmer to do the same. It *is* a fair amount of work in the short term, but the benefits far outweigh the costs. It's not just about getting a job. It's also about really understanding your own personal style.

  67. qwrety by Anonymous Coward · · Score: 0

    When I read the headline my first thought was "Pastebin, of course!".

  68. My code samples by oblivious · · Score: 2, Interesting

    I interview quite a lot. I used to ask people if they'd worked on open source projects so I could see examples of their code. Not one person I interviewed had contributed to an open source project. So I came up with my own code samples. I picked some code from Sun, an example from one of the O'Reilly books, and one more from the web. I ask candidates to read the code, tell me what it does, and what would they do to make it better. These are short code samples, all three print out on a single sheet of letter-size paper. This simple test takes about half an hour to talk through, and is surprisingly revealing about the skill level and knowledge of the language.

    1. Re:My code samples by gatkinso · · Score: 1

      In 1/2 hour, improve on both Sun and O'Reilly, and do it off the cuff.

      Seriously, who wouldn't hire such a person who could pull that off?

      Read it, sure. Explain it, no problem. The web fragment may or may not be a problem. But improve something that has been vetted, proof read, and tested several times over?

      --
      I am very small, utmostly microscopic.
  69. this is a trick question. by Malachite · · Score: 1

    A lot of people are really smug and say "Sorry my NDA won't let me". This is a clever way to get people to admit they never code anything for fun, and as far as I'm concerned, that is a *very* damning statement about an engineer.

    Furthermore, even if you didn't have an NDA, a 200 line snippet of commercial code is rarely very interesting at all. The code for "confirm empty recycle bin" isn't getting you hired.

    My advice:
    * Solve an algorithmically difficult problem efficiently. Here's a site with a few examples: http://www.itasoftware.com/careers/jlisting.html?jid=20
    * Include integrated test cases. Smart programmers know they make mistakes. Make it dreadfully obvious that your program is correct.
    * Don't be too clever. Demonstrate that a 1% performance improvement must justify any incomprehensibility that it introduces. One thing that *really* pisses me off is when candidates write optimizations that any reasonable optimizing compiler would do.
    * Have good comments.
    * No compiler warnings if you want the job. Keep in mind they may compile it in a different environment.
    * If you have the time, make it tangentially related to the company -- a small opengl demo for a game company, a graph algorithm for a search engine company, something tricky in c for an os company, etc.
    * Don't write it in Java, even if it's a Java job. Monkeys can write Java.
    * Be elegant with formatting. It doesn't really matter what spacing/indenting standard you follow, but be consistent.
    * Don't pretty-print it on your website. Provide it in compiler-friendly format.

    Also, as far as stealing open source code and claiming you wrote it ... if they suspect you're full of shit, they'll do a google search for it, and almost all open source code gets pretty-printed onto websites these days, and that sort of thing is an instant rejection.

    1. Re:this is a trick question. by Anonymous Coward · · Score: 1, Insightful

      A lot of people are really smug and say "Sorry my NDA won't let me". This is a clever way to get people to admit they never code anything for fun, and as far as I'm concerned, that is a *very* damning statement about an engineer.

      This is crazy. I've worked with some incredible engineers in the past. One guy designed satellites for the US government (he won't say what sort, you take a guess). Another one, among other things, designed the command unit for one of the Pioneer Venus landers as well as the Ku-band antenna targeting system for the space shuttle. Yet another was a member of the X Consortium responsible for the initial implementation of international language support and worked on the original Xlib documentation. You're running his code right now.

      You would not catch any of these men outside of work writing code, at least back when they were working. Two out of the three are now retired millionaires. having founded and grown a company to great success. Yep, true "failures" there. The third is gearing up for an entire summer of mountaineering.

      What I learned from these three men was that life is too important and wonderful to waste on any one thing. You have what you are good at -- in this case, programming and electrical engineering. You can also be incredibly passionate about this. You also have your other passions. You also have your family and friends.

      I do write code from time to time outside of work, for fun. But not every good programmer does. How would you apply your arguments to civil engineering, for instance? Do transportation engineers build roadbeds in their back yards on the weekends? If not, would you consider these people poor engineers?

      To be hypothetical, if I was a hiring manager I would probably ask if a person wrote code outside of work, and to briefly describe it. If they said they never did such a thing, I'd ask what they DO outside of work. I certainly wouldn't want somebody who just sat on their ass watching TV every evening, but if I heard that they spent their spare time studying the chemistry of wine, or hybridizing tomato plants, or some other interesting thing, I'd be happy.

      If you want to see what somebody's code looks like, provide them with a problem and ask them to solve it.

  70. You don't. by Bones3D_mac · · Score: 2, Informative

    Instead, show them an executable version (or video of one running) and give narration on how you managed to resolve certain issues, letting them see the results of your work. It's probably vague enough to prevent disclosing any major trade secrets and still gives some idea of your overall capabilities.

    For added protection though, you might want to have your employer agree to let you have an executable version of any software you write (or at least, some form of pre-recorded clippings of the software in action using dummy information) for your portfolio beforehand.

    Showing off actual code is definitely a bad idea for a number of reasons. First off, it's a huge breach of security as it could expose potential exploit point in the software. Next, it's obviously going to be a legal nightmare should that code show up somewhere you've been with it. Finally, code by itself just isn't that interesting to look at unless you can see it in action. It's unlikely the one's hiring you will be able to read and understand any code you show them, but they can probably recognize the benefits of your code through comparisons of it against something else that performs a similar function. If they see that the code is somehow faster or does a better job than the item it's compared with, it'd probably be good reason for anyone to consider hiring you on as a developer.

    --


    8==8 Bones 8==8
  71. No Problem--Get a Lawyer by Anonymous Coward · · Score: 0

    Get a lawyer to draft an imposing looking boilerplate legal release indemnifying you and shifting legal responsibility for showing another company's IP to the intervier's company. Tell the interviewer that you understand their request and that you'll be happy to oblige them after we take care of some "straightforward legal procedures". Ask them to sign your release document and a 3-way non-disclosure agreement on behalf of you, your former employer, and the company you're interviewing with.

    If done in a light, non-insulting manner this should help them understand they are asking for something they probably shouldn't be.

  72. Re:I've already done my share of "code samples," t by Anonymous+Brave+Guy · · Score: 1

    I'm not normally one for "me too" posts, but yes, I agree wholeheartedly with the parent's sentiment. If I demanded that each company I went to an interview with have someone spend several hours completing my custom coding challenge so I could judge the quality of my potential coworkers, would that be considered reasonable? I doubt it; it would cost them a lot of money with no guarantee of any return on their investment. Likewise, I am a professional, and I expect to be paid for my time. If it would be excessive for them, it is also excessive for me.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  73. You have to write for yourself by tjstork · · Score: 1

    Start a blog, start showing example scripts and things you know. Host code. Don't write it -all- for the man, because the man isn't going to give you everything. You have to always leave something in the tank for yourself.

    --
    This is my sig.
  74. Get it from a museum! by Anonymous Coward · · Score: 0

    I had an interview and recognized that much of what I have done would not be sharable due to IP issues. However, some code that I worked on at Atari for the 1030 modem was now in the Atari museum. I got that code from the museum, because I didn't even have it myself, and shared that.

    Yes, that makes me a fossil, but at least one of the interviewers had written 6502 assembly code professionally.

    So, is a code sample that is now a museum piece a positive or a negative?

  75. All this is contrived... by Anonymous Coward · · Score: 0

    Oh, please. A decent interviewer can tell in about 30 minutes of decent conversation in the subject area that the candidate knows what the fuck they're talking about and can probably do the job. A good interviewee is convincing in at most 15. Beyond that, the only question is fitting in well with the rest of the team and org.

    1. Re:All this is contrived... by stewbacca · · Score: 1

      I agree strongly with your post. I don't think I want to work for a company who can't see the value in hiring me after a 15 minute chat.

  76. Well.... by marcus · · Score: 1

    You could offer them an NDA.

    Seems reasonable in this day and age.

    --
    Good judgement comes from experience, and experience comes from bad judgement.
    - W. Wriston, former Citibank CEO
    1. Re:Well.... by smellotron · · Score: 1

      Can't offer an NDA to show code that belongs to someone else. That's the situation most people are in - work for hire.

  77. What I want to see (as an employer) by code-dweller · · Score: 1

    I can tell you a couple of things:

    1. Do not show anything that will violate your current or prior agreements. If you are asked to do so then walk away.

    2. Do prepare some reasonably substantial work of your own even if it's only purpose is to be part of your resume. Make it your best quality work and be prepared to go through it and explain your design choices. That is how I will know it's your code, that you have a clue, and how you will fit into our team.

    Think of it this way: You've got time to prepare your resume. So you've got time to write some code. It's part of the project.

    If you are not prepared to go through this exercise then you are at best just another applicant. There are plenty of folks out there touting degree this and cert that and I worked on thus-n-such, but can't show you... Most of those folks are disasters looking for a place to happen.

    On the other hand, if you are prepared then you've shown me what you can do and that you "get it". I'm not asking for much -- this is what you do right? You are proud of your work? You do care about it right? You are still developing your skills and expanding your craft right? So - show me!

    The kind of developers I want are the ones who code not just as a job, but because it's what they do and part of who they are -- folks like that generally have lots of little tid-bits floating around that belong only to them, or they can come up with something on short notice with almost no effort. The best are those that wrote something kewl last weekend to try out something new and can't wait to show it off! Those are the guys with a shot at ending the interview with a new position! (instead of a call-back, maybe...)

    Zombie coders with crushed souls looking to punch a clock need not apply.

    The more "fire" you can show me about "your craft" the better. I want creativity, competence, and heart. -- no clock punching monkeys and especially not the arrogant guys that are too good to be bothered showing some work. Too busy to do it? Then you'll either burn out (if you're not already), or you don't have chops, or you're so damaged and abrasive that you'll hurt team dynamics, or some other ugly thing I don't want.

    Hint: Contributions to open source projects can be great examples... but don't make me hunt for them. Bring them in and show them off!

    You're a developer -- you claim you've got game, so show me!

  78. It helps to work on open source projects by Michael+Meissner · · Score: 1
    While it doesn't help the OP, that's one of the advantages of working on open source projects, your code is always available.

    Maybe its different positions, but so far in my current interviews, I have not had to provide samples of existing code, though I have had to code up a problem on my laptop and for others do whiteboard coding. I do have one interview coming up that wants me to to do a 45 minute powerpoint presentation.

  79. Well, that's easy. by Minwee · · Score: 1

    Just anonymize it a bit. Translating into lolcode would be a good start.

    HAI
    CAN HAS STDIO?
    VISIBLE "HAI WORLD!"
    KTHXBYE

  80. jeeze...ever hear of actually writing something at by Anonymous Coward · · Score: 0

    jeeze...ever hear of actually writing something at home? cmon....

  81. Provide a printed copy during the interview by Anonymous Coward · · Score: 1, Informative

    One method I have seen used in similar situation is to offer to being in a printed copy of the code that will not be left behind.
    They can peruse it during the interview but they can't keep it.

  82. Take your laptop by scudco · · Score: 1

    If you have sample code you _can_ show then bring your laptop. I think it is important not only to show you can code but how you go about solving problems. If an interviewer expected me to "code" on a whiteboard I don't think I would want to continue the interview. Whiteboards can't compile or execute code. Also they can't show how well you know vim or emacs or how well you've configured your environment. These are all important and can tell you a lot about a developer.

  83. OT - small point by XanC · · Score: 3, Informative

    Chaff is the husk around a grass seed. Wheat is what's separated from chaff, not weed. The chaff is the bad part.

    1. Re:OT - small point by TapeCutter · · Score: 1

      You're right, but if you ask me weed is the good stuff. :o

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
  84. Re:I've already done my share of "code samples," t by XopherMV · · Score: 2, Informative

    In my recent job search, I had two companies ask me to do 4-6 hour coding exercises.

    In the first case, I went to town creating fully-commented, production-quality code complete with automated tests. It was more than they asked for. In that case, it didn't matter, I was turned down for the job. The solution was so damn good that I think they thought I copied it from the web, even though I had not.

    In the second case, I produced code that looked more like a proof-of-concept. It worked and matched what they were asking for. But, it wasn't properly documented, wasn't production-quality, and didn't include the automated tests. It was clearly my own creation, but I again was turned down for the job. They said my code wasn't good enough.

    So, apparently there isn't a happy medium. If you solve the problem to their required level, then they think your code is shit. Actually go all out and give them more than what they ask for and they think you've copied it.

    Either way, I put in over 10 hours and got absolutely nothing from it. I agree that if a company asks you to do a programming exercise on your own time, then add them to your 'lame' filter and walk away.

  85. You CAN show them code. by Jane+Q.+Public · · Score: 1

    A compromise is possible.

    I compile (pardon the word) a collection of pieces of code I have written... but with anything proprietary or identifying redacted. And I am very liberal with the redaction. (I should add that while the chunks may be large at times, I also do not give them "complete" methods or routines... nothing that will actually run as-is.) So they get good samples of code that are identifiable as REAL code, but I am giving them nothing that violates my NDA agreements: not only will it not run because of incompleteness and redactions, but they get no proprietary information either.

    This shows them not only that you are capable of producing professional code (give them enough to see that), but also that you are a person who is careful to honor the provisions of your contracts.

    It works.

  86. Simple solution by Anonymous Coward · · Score: 0

    Show them someone elses scripts and write your own full and comprehensive description of what they do - Ask for challenges from potential employers explaining you can't produce any code but are willing to explain how you feel a script they present for you is working. That way your current employer can't scream foul unless he also has written in other nasty clauses in your employment contract... Always ensure rights to own work and always ensure your right to produce work in your free time - Slavery was abolished by the Vikings in Northern Europe a loooooong time ago, but apparently slavery in a more modern form keeps cropping up it's ugly head now and then in the form of contracts that tie you down hand and foot. Remember people - They need you more than you need them!

  87. perhaps by Anonymous Coward · · Score: 0

    Say you are sorry but do to past agreements you can not offer up examples from past jobs. However, you free to show past homework code or you are welcome to write an example code for them showing the basic understand of various useful concepts. Ideally not solving a companies coding problem during the interview process.

  88. Certification Code... by sitarlo · · Score: 2, Interesting

    I use the project I had to do for the SCJD exam process. Even though it's Java I can show that I fully understand OOD, low-level IO, concurrency, GUIs, networking, documentation, common coding standards, etc... Even if the job is using C# or C++ the example works very well and generally people are surprised at the difficulty and comprehensive nature of the project. It also shows that you can follow detailed, specific instructions that are full of loose ends. My advice is do the SCJD exam and you'll have a free and clear showpiece of code that includes many advanced development practices. For Java gigs, the cert can open doors as well.

  89. I had the same problem. by shellster_dude · · Score: 1

    I told all the potential employers that I had extensive programming experience, but most of it was under NDA agreements. Most of them were understanding. I suggested to all of them that they allow me to preform some sort of exercise to show my skill, or start me on a one week trial with no contract. Luckily I also had a couple of OS projects, which I had very painstakingly made beautiful because I knew others would be reading and working on the code in the future. Personally, I think that any employer who can't deal with the NDA issue, isn't worth working for.

  90. In my most recent interview by Skapare · · Score: 1

    In my most recent interview, instead of asking me to show code I had already written (which I had referenced via an open source project on my resume, anyway), they ask me to actually write some code on the whiteboard and explain why I would do things the way I was doing it. The interviewer asked for a specific algorithm example. But he was less interested in whether it would actually work (any good programmer can make code work), and more interested in my thought processes in figuring it out.

    I ended up doing much the same thing there when I had the task of interviewing more programmers.

    --
    now we need to go OSS in diesel cars
    1. Re:In my most recent interview by sitarlo · · Score: 2, Informative

      In my last interview I was asked to do a similar task, but I was put off a bit because the interviewers were basically junior level programmers and they asked some really dumb questions about the SQL they had me write. After the experience I realized that asking a professional to write code in an interview is inappropriate. A senior developer should be able to simply discuss and ask questions to get a feel for a person's aptitude, but sadly these days most of the interviewers don't know much about development so they use scripted questions and on-the-spot tasks that tell them very little about the performance potential of a candidate. I didn't get the gig BTW, they told me straight to my face that I was way overqualified! Nice comment for the ego, but tough of the bank account!

  91. Re:I've already done my share of "code samples," t by smellotron · · Score: 1

    I'm on the other side of that fence. I've had to spend a fair amount of time reviewing code submitted by candidates. Trust me, it is burning up the company's time as well (well, at least in my case...), and it does provide a lot of additional insight into potential candidates, if done well.

    I've never had anyone point me towards open-source contributions, but that would probably be a very big plus and potentially waive the "take-home problem". I'm sure we've lost a fair amount of good candidates who share your sentiment—but we've also weeded out enough poor candidates that it's worthwhile overall.

  92. show them... by Anonymous Coward · · Score: 0

    what am I supposed to show them?
        show them your tits... works every time.

  93. Work for free - Thanks for the free code by Anonymous Coward · · Score: 0

    Wut, you thought you wouldn't ever have to work for free? LOL LOL LOL LOL

    Some genuine clients ask for sample code, most though are looking for FREE CODEBASES and you haven't even met them yet and signed an NDA or anything have you?

    1. Re:Work for free - Thanks for the free code by gatkinso · · Score: 1

      Hard copy or show it on your laptop.

      They dont get a copy, if such is your worry.

      If your code is GPL then why do you care?

      --
      I am very small, utmostly microscopic.
  94. Maintain a Blog by skeeto · · Score: 1

    If you do any programming as a hobby, write about the little projects you do in a blog, including full source. Not only could it be useful for showing to a potential employer, but it is a nice way to keep a record of your hobby projects to look back on. All your code is saved, backed up (via the Torvalds backup method), and documented.

    People reading your blog can benefit from your own learning experience, and in a hands-on way too. (I do all this myself, which is where that "Homepage" link above points to.)

  95. My Intern Interview by Anonymous Coward · · Score: 0

    The company I interviewed with (& got hired) gave me a three page long set of questions (about 10 total), only 1 of these questions involved writing ANY code (any language, fill in the method/function), another asked about terminology about a particular language (HTML for a web dev company) and many of the other questions focused on employee & client interaction, also a question on methodology & another on creative approaches.

    This questionnaire was given with no one else in the room (conference room) with no time limit -- once complete, the real interview began. (they didn't use my answers in the interview or look at them at this point, but I'm assuming that it played a large part in my call back).

    The rest of the interview consisted of various Q/A by upto 5 staff (although for the majority of the interview there was only two staff doing the bulk of the questions.

  96. code sample by BradMajors · · Score: 1

    There was a candidate at a small company we interviewed who provided some code samples from his previous employer without being asked. The President ruled the candidate is ineligible from ever being employed by the company because the candidate violated the IP rights of his employer.

  97. You didn't? by Moraelin · · Score: 1

    You didn't? We actually had one contractor here who singlehandedly wrote Google's search engine, according to himself and to the PHB from the company selling him. (Apparently he wrote it for some small startup, that got bought by another dot-com, who got bought by Google after Google had their IPO. That's not the story of Google's search engine how I knew it, but it just shows I was wrong;)

    Meaning at least one corporation paid for that kind of expertise, possibly the contractor peddler too.

    We were all excited to see such a guru in action, especially since we did need a good search for the portal. Mind you, we would have settled for using Lucene, but something Google-class would of course be even better. He left for some other project after a couple of weeks, though.

    Hmm, only now it dawns upon me that I had worked before with someone from the same contractor company, who had coded AOL's search engine. I guess they must have a really strong competence on that domain ;)

    --
    A polar bear is a cartesian bear after a coordinate transform.
  98. Re:I've already done my share of "code samples," t by Splab · · Score: 1

    In Denmark the first 3 months of your employment both the employer and employee can terminate it with a days notice. After the 3 months "test period" and until the first 6 months of employment both parties have to give 1 months notice. After 6 months the employer has to give 3 months notice, the employee has to give 1 month. This goes on at regular intervals (for the employer), employee stays at 1 month notice.

    The good thing about this is both parties can try each other out with very limited damage if things doesn't work out. However, if the employer does like what you do, he is stuck with you and you can start making plans for your life. This way we don't really need to see your code, we can just terminate your employment if you can't do what you said you can.

  99. Re:I've already done my share of "code samples," t by Splab · · Score: 2, Insightful

    You speculate that they turned down your application because it was too good?

    So you didn't actually ask why they turned you down? You just sit there with a grudge, making most likely false assumptions. Smart move.

    Ever crossed your mind that they might have found someone just as good, but with, perhaps more experience? Or asking less pay?

  100. Re:Personal Projects? OSS Work? by TheLink · · Score: 1

    Yeah, I suck at interviewing people. I have no idea what to ask, I don't know Java, C, C++ etc.

    So the sort of thing I ask coders is "what have you done, that's not work/uni related, that you find notable or you're proud of, and why?".

    I'd ask the same thing to artists (I don't know the technical details of using oils, photoshop etc).

    If the "artist"/"programmer" has been out of work for 6 months and has not drawn/coded a single thing for fun, I don't think I'd want to hire him/her.

    Whereas if the Artist is idly doodling something cool/cute/nifty/artistic on the sheet of paper on the interview table, then I'd want to hire him/her - the art is just "overflowing" from that person.

    But what do I know, I don't work in HR, and often it seems companies just want cheap bodies, because I guess "good enough" is good enough.

    --
  101. Another example of HR nightmare by BabbageTuring · · Score: 1

    How long before this and other ridiculous interview and hiring techniques fall to the wayside with HR and management?

  102. Work on GPL projects by Antique+Geekmeister · · Score: 3, Insightful

    There are thousands of useful coding projnects over at Sourceforge: pick one or two that relate to tools you use, and help update or debug them. Post patches, and you'll have it online there as a matter of public record. If you management doesn't want you to publish such tools, gently steer them to the details of GPL licenses: GPL code is particularly good for this. Perl modules are particularly good for this, published over at CPAN.

    At my last job interview, I was able to point to 3 products that they used that I'd contributed to at least 5 years previously, and one product they were contemplating using that I pointed them to bug fixes I'd published.

  103. wrong question: How To Show Code Samples? by Anonymous Coward · · Score: 0

    Todd is asking a obvious and wrong question. He wants to make a job interview and figure out what the Guy can. The questions he should ask (read: my way) are:
    * what programming language can solve what problen ? set a fix language or problem
    * did you participate in an open source project ? what did he actualy do ???
    most people here already said that even when sone shows a code sample is says nothing.

    talking to people to figure out what they can do is one of the hardest jobs at all. and always remember that throwing more programmer to a late project makes it ever worse.

  104. You could pair program by sinnema313 · · Score: 1
    Last time I interviewed someone, I did an hour of pair programming with the candidates. I selected something from my regular work that was small enough to take a bite out, and easy enough to explain in little time. So I actually got work done during the interview :D

    It was an experiment, but it worked extremely well. At first the candidate is nervous, especially since (s)he is not likely to have experience in pair programming. But soon (s)he settles down and starts to get into it.

    The one I ended up hiring was the one that I had to force to stop after one hour. He still wanted to make a little adjustment here, add some functionality there. Easy to tell he was very passionate about his work.

    There is no way you can fake the thought process when you have to develop software it in real time. I can recommend this approach to anyone.

    So, to anwser the question: you could offer to pair program with one of their developers.

  105. Show something cool... by Anonymous Coward · · Score: 0

    Something beyond handling text input and sorting lists... Like you C++ SSE2-optimized Navier Stokes water simulation.

  106. interviews by cabazorro · · Score: 1

    If some one ask you to bring your code to an interview answer this: Would you ask a farmer to bring their fertilizer to the bank when asking for a loan so the loan officer may take a whiff? Of course not. You would ask him about his farm. About his tools and machinery, about their property value and then method of irrigation, crop rotation, tilling or non-tilling, credit history that sort of thing. And btw, organic farms use standard c.

    --
    - these are not the droids you are looking for -
  107. If you want to show our stuff, suggest pairing by dav · · Score: 2, Informative

    As a hiring manager I find preconceived code samples worthless. There is only one way to know if someone can code during an interview, and that is to pair program with him/her.

    I use a technique I learned from Rob Mee at Pivotal Labs. I spend roughly an hour test driving a simple project with the interviewee that Rob specifically crafted to determine the capabilities of the candidate, from the basic level of competency up to that Rockstar ability to spot the elegant solution intuitively.

    During an hour of pairing with someone you get a good idea of what they can do, much better than you can from reading pre-fabricated code samples or merely asking quiz questions (whether about stuff someone can memorize from a book or silly brain teasers).

  108. Currently undergoing the same predicament. by viyyer · · Score: 1

    I am currently undergoing this same predicament for last 6 odd months. I am asked to a sample project especially if the size becomes much larger and whatever the project. The enthusiasm is much lesser, the amount of collaboration is much lesser, and the prize for doing this is even lesser. I end up not doing it getting bored. Though feeling guilty of not being able to do assignments dog me. But, unpaid assignment irritate me much more.

    I for myself cannot find an answer for this though.

  109. Re:I've already done my share of "code samples," t by TheRaven64 · · Score: 1

    A lot of companies won't tell you why you were rejected. In a lot of places, you can reject candidates for no reason without issues but if you give a reason then you are leaving yourself potentially open to discrimination suits.

    --
    I am TheRaven on Soylent News
  110. You think you've got it bad? by stewbacca · · Score: 1

    Try working in the world of Top Secret government training. "Sure I can develop realistic, engaging Flash simulations of your software if you hire me. A sample? Errm, I know this is gonna sound flaky, but I can't actually show you any of my work..."

  111. Re:journey vs destination by Migraineman · · Score: 3, Interesting

    I absolutely concur. I'll usually be blunt and indicate that I'm interested in the solution methodology and not the specific answer, and I'll probably send the candidate down a dead-end road to see how he reacts.

    During an interview a couple of years ago, the candidate was stunned when I said that I didn't have an answer to the problem, and that we'd solve it together. So I explained, "Son, life doesn't come with a User Manual, Reference Guide, or more importantly, an Answer Key in the back." I think he completely missed the point, and unsurprisingly, had little in the way of problem solving skills. Reminds me of a line in Men in Black - "Gentlemen, congratulations. You're everything we've come to expect from years of government training."

    When I came out of college, I went on a particularly brutal interview. One section involved critical timing paths (I'm an EE,) and the interviewer tossed a simple schematic on the whiteboard. I looked at it for about 5 seconds, and told him what it did. He paused and asked, "Are you sure?" His tone clearly indicated that I was incorrect. I looked again, and stood my ground. I further pointed out that he had a potential setup/hold timing violation depending on what parts he was using. I spent over an hour with this guy, and he asked some seriously challenging questions. I found out after the fact that he was notorious for chewing-up and spitting-out candidates, and that his interviews rarely lasted more than 20 minutes (he was effectively the CTO, so time mattered.)

    The lesson here is that a proper interview is geared toward making sure you have both technical chops and people skills that are compatible with the company. I can teach you new tech stuff ... I probably can't teach you how to be less of an asshat. A bad attitude is destructive, no matter what degree of "leet skills" you think you have. Unless you're being harassed or threatened, walking out of an interview is a mistake.

  112. Write Something by Javagator · · Score: 1

    Solve an interesting problem. Here's one I worked on a few years back. http://www.frank-buss.de/challenge/index.html. You can do it in one Saturday afternoon, and it should be fun. Polish it up, be prepared to explain your solution, and you're set.

  113. Debug their program by grikdog · · Score: 1

    One of the outfits I interviewed with was having problems, so they asked me to "look over our guy's shoulder" and tell her what she's doing wrong. That made me nervous. I'm an autodidact, she was trained in C.S., so we don't speak the same language although we were both using Visual Studio C++ and MFC. But we dove in, and pretty soon it was obvious what the matter was: She'd declared a huge object in stack space, instead of using a pointer, and was overwriting her own return address with some sloppy bounds checking, but there was no way I could explain that. Like almost every pro I've worked with, she was trained in "Microsoft's way" of thinking abstractly and had an awe of the tools which bordered on reverence. She had, in other words, never done any serious assembler work in her life and had no idea what the MACHINE was doing on the stack. I floundered, trying to explain. My mouth doesn't program, my hands do. But the guy who sat next to her "got it." She was in good hands. So I left. Didn't get hired. Didn't pursue it. That was the first job interview I ever seriously considered billing for my time.

    --
    ``Tension, apprehension & dissension have begun!'' - Duffy Wyg&, in Alfred Bester's _The Demolished Man_
  114. What about those... by gillbates · · Score: 1

    whose employment agreement precludes them from working on open source projects?

    I work for a fairly large company, and my employer at least allows me to work on OS projects, *with their approval*. The approval process is rather cumbersome, which keeps everyone except the most die-hard supporters from doing it.

    For people like me, I'd have to show them code I created back in school, or when I worked for an employer which didn't have such a restrictive employment agreement.

    --
    The society for a thought-free internet welcomes you.
    1. Re:What about those... by Anonymous Coward · · Score: 0

      whose employment agreement precludes them from working on open source projects? I work for a fairly large company, and my employer at least allows me to work on OS projects, *with their approval*. The approval process is rather cumbersome, which keeps everyone except the most die-hard supporters from doing it.

      The next time you change employer, be sure to include any open source projects you already started (or projects you're thinking of starting) in your employment contract. It's going to be a lot easier to get those included at the start of a job, then later on...

      This is true for pretty much anything: raises, benefits, moving expenses, job title, any perks offered to you verbally, etc. Anything worth something to you better gets included in the contract at the beginning. Don't accept spoken promises. Don't be passive-aggressive about it, be really upfront about it (once they decided to hire you, it's obviously not a good idea to sweat all those details before they've made any decisions). When the written offer is initially made and the contract is Fedex'd to you, modify, strike, and initial the contract clauses you do not like, and Fedex it back to your potential employer without your signature with a cover letter explaining your changes (the copy you send back must be unsigned, otherwise they could make you start and never send you back a copy indicating their approval/disapproval of your changes until it's too late).

      And this should be said, if your future employer can not put down in writing something they've already offered to you verbally, it's best to run, run away as fast as you can, and not look back. You want to find out about this kind of employer long before you ever start working for them (no matter what excuses they give you).

  115. Re:I've already done my share of "code samples," t by Splab · · Score: 1

    Well my bad, around here people are sane and don't sue left and right.

  116. I had the same thing in an interview by Jamie+Lokier · · Score: 1

    In the interview, they criticised some code of mine saying that all variables needing to be zero at the start of the program must be explicitly initialised ("= 0").

    I said standard C/C++ - *any* standard - guarantees that uninitialised integer globals are zero at the start of the program, and furthermore, explicit initialisation takes more space in most executable formats.

    Turns out they work with embedded systems where they turn off zero-initialisation, for a slight improvement to boot time, so they aren't using standard C/C++. They didn't know that.

    I understand why they do that, but it does seem counterproductive nowadays. It means you can't use any 3rd party library code, without changing it first. It will compile but break. And if you need the boot time speedup, there are other ways to get it, such as marking variables which don't need to be zero-initialised with an annotation.

    In other words, C89 is *not* guaranteed to work everywhere even nowadays. (These were TV set top boxes, btw).

    Btw, I didn't get the job. Something tells me I would have been too argumentative :-) Overall I found them to be good interviewers, even though we disagreed on quite a few best practice issues.

    1. Re:I had the same thing in an interview by TheRaven64 · · Score: 1
      I don't recall that being in the C89 or C99 spec, and a quick search through the C99 spec seems to confirm that you are wrong. C makes absolutely no guarantees as to the state of a global that does not have an explicit initialiser. These are often implemented by having a page or two in the executable that is just copied into RAM, and in this case the compiler may choose to initialise them to 0 because it has to initialise them to something. On other systems, they are implemented by simply allocating a blob of static storage and then explicitly initialising both. The only things guaranteed by the standard to be initialised to zero are sub-objects in compound objects (structures and arrays) without a designated initialiser (i.e. if you initialise some elements in a structure or array explicitly, the others are implicitly zero).

      On many systems which do not support process isolation, it is common for any data you get from the operating system (or assign to yourself if there is no operating system) to be in an undefined state. I believe C++ has some stricter constraints on implicit initialisation, but I've not used enough C++ to care.

      --
      I am TheRaven on Soylent News
    2. Re:I had the same thing in an interview by Jamie+Lokier · · Score: 1

      See the FAQ: http://www.c-faq.com/decl/initval.html

      It includes section references, if you want to look at the standard. (It simply says "ISO" which I would guess refers to C89.)

      Statics (including functional-local statics) and globals are initialised to zero, including structure members, in the absence of an explicit initialiser. This means integer types have the value zero, floating point types have the value 0.0 (even if that representation is not all zero bits), and pointer types have the value NULL (even if that representation is not all zero bits).

      You are right that some systems don't initialise all those variables to zero (I've used such systems, long ago). There are also systems which initialise them to all-zero-bits, which is not the same as 0.0 floating point or NULL, on some systems.

      To the best of my knowledge, neither of those are conformant C89, C99, or even K&R. I'll freely admit I may be wrong (I never read the whole of either standard), but I'm inclined to trust the comp.lang.c FAQ, which gives references to sections of the ISO standard.

    3. Re:I had the same thing in an interview by TheRaven64 · · Score: 1

      Ah, found it. 6.7.8.10 in C99. Thanks for the info.

      --
      I am TheRaven on Soylent News
  117. project euler by shthed · · Score: 1

    recently when applying for a job i showed all of my answers ive done for projecteuler.net they were rather impressed :) 87 done so far ive done a mix of perl and python, all nicely documented, with a small library of common functions. too bad the job was just boring oracle database stuff, id love to get the chance to apply for a job where detailed knowledge of mathematics and optimisation are essential.. anyone hiring?

  118. Open Source by Manfre · · Score: 1

    For my current job, they wanted a demonstration of a recent project that I've worked on. I also had to show code during it. My work on an open source project saved me from having to toss together a demo app in a few days.

  119. Re:I've already done my share of "code samples," t by XopherMV · · Score: 1

    Yes, because obviously they don't discriminate where you are from...

  120. outside interests by falconwolf · · Score: 1

    Well the advice I was given was by a dentist whose son had burn out from his software analyst job. He just didn't have any outside hobbies and had enough

    I think not having outside interests is a big reason people burnout from their jobs. It's easy to burnout when you only do one thing.

    I don't know the research data on it (if there is any) but I am sure that computer science / engineering jobs have an over-representation of one or another personality trait

    I don't know that either but the last tyme I saw data the average person changed their careers 3 tymes in their work life. Maybe that's an indication of burnout, though it could be just a want of change.

    Anyway thanks for your considered response.

    No prob, actually I'd like to see data on the happiness of those who have little if any outside hobbies and those who have at least one hobby they spend at least a few hours a week doing.

    Falcon

  121. There are two kinds of scripts written. . . by krunk7 · · Score: 1

    When implementing a solution for an employer. The first is the actual script that you turn over to them. The other is the myriad of scripts that help you get the job done.

    These are what we call our "toolbox" and it no more belongs to the employer than a hammer or wrench. For example, if I'm asked to port a database or write a daemon I often include a set of headers or functions that I carry around with me from job to job. I don't consider anything written as a means to accomplish my assigned goal as belonging to my employer either.

    I usually license these as BSD or GPL, but will relicense them if necessary for inclusion in the project. This is the code I show at interviews. It is every bit as representative of my abilities as the code locked up with the company. Nor is it even remotely unethical, there's not a craftsman around that doesn't have their own set of custom "utilities" and tools that they carry around in their personal tool box.

    1. Re:There are two kinds of scripts written. . . by lawrencebillson · · Score: 0

      Did you write it all in your own time?

  122. and the truth.. by fishbowl · · Score: 1

    from the other side of the table, the truth is that there is rarely a situation where you have an opening, and a genuinely qualified candidate for the position, and you are actually looking for reasons to disqualify one of them. Use this knowledge to your benefit.

    --
    -fb Everything not expressly forbidden is now mandatory.
  123. Easy: contribute to open source! by remitaylor · · Score: 2, Insightful

    Make an open source project or open source one of your current side projects. Or contribute to an existing project.

    Direct them to the projects' websites and/or online source code browser.

    If someone wanted to see my code, I'd just send them to my git repo with many of my open source side projects.

    If you're a coder and you don't have side projects ... you're not a coder :P

  124. Re:journey vs destination by BrokenHalo · · Score: 1

    I'll usually be blunt and indicate that I'm interested in the solution methodology and not the specific answer...A bad attitude is destructive, no matter what degree of "leet skills" you think you have.

    Since I've already blown away my mod points by posting earlier in this thread (so who cares anyway?) I'll just say "well said".

    It is very wearisome to behold the spoonfed drones who are incapable of backtracking, looking at the big picture and acknowledging when they are barking up the wrong tree. It takes a degree of maturity to know when to stand one's ground or to admit error or misapprehensions and start afresh.

  125. What I would do... by kafros · · Score: 1

    Show them obfuscated code :D

    For extra points get a couple of executables with you, and fire up the disassembler.

    Show them Carmack's inverse square root function, in order to check if they are worthy to be your new masters

  126. Tell Me The Difference by Slashdot+Parent · · Score: 1

    If the job is server-side Java, there is no point to asking the candidate to manually reorder Strings, implement a linked-list, or twiddle bits. If the candidate actually did any of that on the job or any of their previous jobs, they would or should have been fired.

    I do a lot of interviewing, and some of my favorite questions to ask are "tell me the difference between X and Y." It shows a much deeper understanding of the important facts than "tell me some weird corner of the API" type questions ever will.

    For instance, if your resume says you know J2EE, Spring, and Hibernate, you better be able to tell me what's the difference between Entity EJBs and Hibernate. You'd also better be able to tell me how Spring and EJBs differ and how they collaborate.

    If you can't, then your resume has a date with my shredder.

    --
    They don't grade fathers, but if your daughter's a stripper, you fucked up. --Chris Rock
  127. reading binary? by Joseph_Daniel_Zukige · · Score: 1

    I assume the job requirements or something gave them the context to know you were familiar with the CPU in question?

    And I assume the CPU in question was not x86?

    1. Re:reading binary? by BrokenHalo · · Score: 1

      Correct. This was when the planet was just cooled and the x86 was yet to be conceived. Any programmer's curriculum vitae inevitably referred specifically to the processors in question - obviously, since the binaries to which I refer only work on the CPU for which they are assembled or compiled, and nobody in those days expected cross-platform support.

  128. I have worked for companies with that attitude. by Joseph_Daniel_Zukige · · Score: 1

    And it was impossible to get the code they put out to pass meaningful tests.

    I got to the point that, when one company who had just hired me showed me that that kind of code was what they wanted, I bailed. I don't like that roller-coaster.

  129. You should have written sample code by WindShadow · · Score: 1
    I've been writing open source code since the days of comp.sources.unix on usenet, and anyone wanting to take some time with google can not only find examples, but see that I have improved my code, can use many languages, etc.

    You should have been donating code and you wouldn't have the problem.