News for hackers. Stuff that matters.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by Kephael on Wednesday October 24, 2018 @12:35PM (#18293954)
The supply of technical workers is artificially limited by Leetcode style interviews. There doesn't seem to be an actual supply side limitation, especially not at the entry level.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by mohaine on Wednesday October 24, 2018 @12:50PM (#18294111)
Maybe on the west coast but here in the Midwest we often have issues finding candidates that can write fizzbuz.

We recently had a candidate who's main language was python but failed to even run his code on the command line. Saddly this isnt overly rare.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by max76 on Wednesday October 24, 2018 @01:12PM (#18294350)
I use to work in the midwest before moving to the west coast.

We had a guy come in for a programming interview. He claimed to have 3 years experience with a programming language we commonly use. We gave him a simple challenge (connect to a database using a database connector, read some fields and update another field based on data from the read fields). We told him it's fine to use google, and left him alone for four hours with a computer.

He asked to expand his interview time at the end of the four hours, we grant him an additional two hours. At the end he didn't have code that compiled, much less connected to the database.

This story is not atypical from my experience.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by amrx431 on Wednesday October 24, 2018 @11:45PM (#18298427)
First I thought thats not straightforward to make a DB update because you know, not everything is loaded into our brains working memory like which package to use, exact syntax etc etc. But then I read that you guys gave 4 hours + Google and I am shocked. BTW are you hiring :)
Re:America’s Need for Skilled Immigrants Isn’t Going Away by 50 on Wednesday October 24, 2018 @03:14PM (#18295477)
Out of curiosity, what language was it?
Re:America’s Need for Skilled Immigrants Isn’t Going Away by pkaye on Wednesday October 24, 2018 @03:33PM (#18295614)
Actually even in the west coast we have a hard time finding candidates that can write even fizzbuzz level of code. Its not even a recent problem.

The worst I've hard was a person with 20+ years of consulting experience for top companies in firmware could not code 3 lines of C code to traverse a linked list. Literally didn't know the syntax to dereference pointers!

Re:America’s Need for Skilled Immigrants Isn’t Going Away by rhexs on Wednesday October 24, 2018 @01:12PM (#18294347)
Sounds like you need to pay more, have a better working environment, else work on your recruiting pipeline. A phone interview should be able to sniff that out quickly.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by 2_listerine_pls on Wednesday October 24, 2018 @01:08PM (#18294306)
Anyone with a CS degree can write a fizzbuz
Re:America’s Need for Skilled Immigrants Isn’t Going Away by QuercusMax on Wednesday October 24, 2018 @01:18PM (#18294393)
Wow, didn't realize this was a comedy site.

Speaking from personal experience, the number of people with multiple years of experience and multiple degrees in CS (usually BS and MS) who can't pass FizzBuzz is really high.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by jki275 on Wednesday October 24, 2018 @01:28PM (#18294497)
That's amazing to me. Not arguing you're wrong, I'm not interviewing people, just amazes me that anyone with degrees in CS would not be able to solve such a basic problem.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by geebee on Wednesday October 24, 2018 @02:05PM (#18294855)
I don't understand this either. There is an interesting blog post that suggests maybe some programmers get tripped up because they want to find a more clever way to do it:

http://www.gayle.com/blog/2016/1/fizzbuzz-youre-doing-someth...

It doesn't sound like this is the problem, though, in all the cases. It sounds like someone who majored in CS was unable to write this.

Which seems inconceivable to me. And yeah, "inconceivable" is often based on wrong assumptions (it was the basis of one of the oft-repeated lines from cinema: you keep using that word. I do not think it means what you think it means).

But... is there a chance that maybe "CS" just means different things from different programs. I feel like it should be... well, impossible for someone who graduates from a proper CS program to fail to write fizz buzz.

I know, I know, the "no true scotsman" is already getting typed into the response field. But here's the thing, I'm not defining a "proper" program as one that results in an ability to write fizz buzz. I'm defining it as a program that contains, at a minimum, basic algrothmns and data structures. Do people graduate with CS degrees without coding a linked list, binary tree, doing basic sorting, and set permutations?

I'd say if you take that one required class, it should be more or less impossible to not write fizz buzz. I'd be interested in knowing what the "CS" curriculum was for people who can't write this.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by jki275 on Wednesday October 24, 2018 @02:13PM (#18294912)
You don't even need algorithms or data structures -- it's a cs101/151 problem at best. When I first saw the problem the solution appeared self evident to me -- I've been coding since the 80s, but still. It's just a simple problem and writing the pseudocode for a question like it ought to be almost second nature to anyone who has done any coding at all.

I know people confuse CS and IT/CIS, but even at that, those majors generally require at least one basic CS class.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by geebee on Wednesday October 24, 2018 @02:37PM (#18295137)
I agree, you don't need data structures for fizz buzz. In fact, I think it would be tough to pass data structures if you weren't at the level where you could write fizzbuzz, so it's more or a pre-req. I have trouble imagining what is taught in a CS program that doesn't have a course in data structures and algorithms. How can it be CS?

That said... I keep hearing about fizzbuzz, and I'm not sure what I think of the complaint. I hear something along the lines of "We need to do technical screening because you wouldn't believe how many people can't do fizz buzz", but the questions aren't fizz buzz, they're "find all matching subtrees in a binary tree", often at the whiteboard, in 45 minutes. I'm not saying that this is (or isn't) unreasonable, just that there's an awful big difference between fizz buzz and the kind of questions I've encountered in a typical tech interview.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by ryandrake on Wednesday October 24, 2018 @09:32PM (#18297922)
Both candidates are in abundance. I know plenty of “engineers” who can’t do fizzbuz. I also know talented developers who can do fizzbuz for you in 60 seconds, but might not be able to invert your binary tree on a whiteboard in that amount of time. Neither of them are getting past today’s ultra picky interview-hazing rituals. One probably shouldn’t get hired while the other should. Companies seem to have a hard time distinguishing them.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by QuercusMax on Wednesday October 24, 2018 @02:16PM (#18294938)
You'd be shocked how many people don't know about the modulus operator.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by repsilat on Wednesday October 24, 2018 @03:07PM (#18295410)
Even so... try dividing. If it looks like division truncates, check the product. If it looks like floating point division, check if rounding/truncation changes the value.

Or keep two extra counters that you increment every iteration and reset when they hit 3 or 5.

Not knowing modulus or bitwise ops etc isn't a good sign, but it isn't disqualifying. Not being able to get fizzbuzz working should be disqualifying, though, unless you're willing to teach someone to program completely.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by jki275 on Wednesday October 24, 2018 @02:17PM (#18294943)
That's a fair point, but not even knowing about the concept?
Re:America’s Need for Skilled Immigrants Isn’t Going Away by pkaye on Wednesday October 24, 2018 @03:44PM (#18295698)
I agree with the parent comment. So many people just can't code the most basic program correctly. And this is with a generous amount of time and forgiving syntax errors.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by stale2002 on Wednesday October 24, 2018 @03:49PM (#18295754)
Well, it is a little bit more complicated than that.

I am sure that any CS major couos write fizz buzz, on their computer, for the purpose of their homework assignment or whatever.

Whether or not they can do the same thing, in 15 minutes, on a whiteboard in front of someone is a different story.

The moral of this story is that writing code, on a blank slate, while having to have all the syntax memorized, and having everything conpile without having access to a compiler, is a real skill that many people haven't even attempted to do.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by QuercusMax on Wednesday October 24, 2018 @04:08PM (#18295883)
If you're applying for a job as a full-time software developer, you should be able to write something that is comprehensible without having a syntax reference.

I straight-up tell people I don't care if you use the wrong method name (in Python is it ends_with() or endswith? toupper, to_upper, or upcase?). Heck, I even tell them I don't care what language it is as long as it's not too weird.

A few months back I interviewed someone who was currently employed as a software engineer at a major company in Silicon Valley, who couldn't even figure out how to write a tiny little program which kept track of state across method calls. I told him that he could store the state in global variables, make an object to track the state, or anything else he wanted; still couldn't make any progress outside creating a single stateless function. I was truly puzzled.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by 50 on Wednesday October 24, 2018 @03:40PM (#18295667)
Is the correct and most efficient way to solve it?

  #include <iostream>
  using namespace std;

  int main()
  {
      for (int i = 1; i <= 100; i++)
      {
          if ((i % 3 == 0) && (i % 5 == 0)) cout << "FizzBuzz" << endl;
          else if (i % 3 == 0) cout << "Fizz" << endl;
	  else if (i % 5 == 0) cout << "Buzz" << endl;
	  else cout << i << endl;
      }
  }
Re:America’s Need for Skilled Immigrants Isn’t Going Away by 0xffff2 on Wednesday October 24, 2018 @04:27PM (#18296047)
Off the top of my head, you can do a single mod 15 for the first case. I'm sure there are other micro optimizations, but really being able to write exactly what you did is sufficient to move on to real questions that actually have something to do with the job you're interviewing for.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by Metricon on Wednesday October 24, 2018 @06:39PM (#18297079)
Technically, this would be more efficient:

  #include <iostream>
  using namespace std;
  
  int main() {
    for (int i = 1; i <= 100; i++) {
       bool t = (i % 3 == 0);
       bool f = (i % 5 == 0);
  
       if (!t && !f) { cout << i << endl; continue; }
       if (t) cout << "Fizz";
       if (f) cout << "Buzz";
       cout << endl;
    }
  }
But most interviewers are interested in the basic logic of the process.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by drdrey on Wednesday October 24, 2018 @02:30PM (#18295085)
What is the explanation? Presumably, to get a CS degree you had to solve problems harder than FizzBuzz, no? Are we suggesting these people cheated their way to a CS degree?
Re:America’s Need for Skilled Immigrants Isn’t Going Away by mindcrime on Wednesday October 24, 2018 @03:09PM (#18295427)
Anyone with a CS degree can write a fizzbuz

That's not even close to true. I've interviewed people with Ph.D.'s in Computer Science and a documented 10+ years of experience as a "developer" of some sort, who can't write Fizzbuzz.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by nradov on Wednesday October 24, 2018 @01:10PM (#18294334)
Decades ago tech companies like IBM would hire entry-level software developers with zero coding experience based on the results of aptitude tests. Then they put the new employees through internal boot camps. There's no reason a similar approach couldn't work today. Employers just generally got lazy about workforce development while the economy was slower and they had an unlimited supply of applicants.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by saalweachter on Thursday October 25, 2018 @10:36AM (#18301196)
It's not just software engineers. This also happens with skilled labor, like machining.

You used to be able to get hired and taught on the job, now the employers expect you to pay your own way through a technical school for several years before applying for a minimum-wage job. So you've got (a) lower wages (b) you need to pay to educate yourself (c) you need to pay to support yourself during those years of training and (d) you're guessing which job skills are going to be in demand after N years, so after spending the time training and taking on debt there might not even be a job waiting for you.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by EmbarrassedFuel on Wednesday October 24, 2018 @02:33PM (#18295103)
In the uk I often see posts for graduate programmer positions with essentially this arrangement: words to the effect of “candidates need not have experience coding but should show a willingness to learn and deep interest in tech” etc.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by HillaryBriss on Wednesday October 24, 2018 @04:35PM (#18296110)
that's how I see it too.

I feel like the whole question here is simply: how much commitment to the existing US labor pool should US laws/regulations require from US employers?

Over the last decade, the answer has been "not much." But, now, because of political and economic realities, that answer might change.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by thwy12321 on Wednesday October 24, 2018 @12:43PM (#18294033)
This. If there was a real piece of missing demand these companies would change their interview process, but things are only moving in the opposite direction. The shortage is a myth to flood the software engineering job market with cheap workers. It needs to stop
Re:America’s Need for Skilled Immigrants Isn’t Going Away by mo1ok on Wednesday October 24, 2018 @02:50PM (#18295248)
Piggybacking off the fizzbuzz comment, but at my job we we don't ask hard whiteboard questions - just simple ones that prove people can code, and 75% of them can't do it. If you can't do fizzbuzz, you can't do this job. It's an effective filter.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by kevin_thibedeau on Wednesday October 24, 2018 @04:11PM (#18295901)
Had one guy who insisted on using C++ in favor of C for a problem despite being hinted to use the latter. He was a self proclaimed "expert". All was good until forgetting to use delete[] instead of delete.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by protonfish on Wednesday October 24, 2018 @12:46PM (#18294063)
That and a complete unwillingness to educate and mentor your workforce. I don't understand why the government should step in to help employers because they want training to be somebody else's problem.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by enraged_camel on Wednesday October 24, 2018 @01:03PM (#18294250)
Companies don't train their workforce because said workforce then leaves and joins another company, which then benefits from that training.

...that's how it was explained to me by an executive at my former job (a big part of the reason why it's my former job).

Re:America’s Need for Skilled Immigrants Isn’t Going Away by Apocryphon on Wednesday October 24, 2018 @01:11PM (#18294346)
California is an at-will state and all that, but surely executives and business consultants can structure some sort of incentive package to cause workers to stay for at least some minimum duration?
Re:America’s Need for Skilled Immigrants Isn’t Going Away by dorchadas on Thursday October 25, 2018 @12:57PM (#18302377)
If a company was willing to train me and provide me decent salary and benefits, I'd totally stay. If there was room to move up in the company, and they kept offering good salary and benefits, I'd probably never seriously consider leaving unless I hated the job or just got an amazing offer (barring events like needing to take care of parents, etc, of course). I feel like a lot of people would prefer the stability, even, especially if the company is investing in them.
Re:America’s Need for Skilled Immigrants Isn’t Going Away by rhexs on Wednesday October 24, 2018 @01:19PM (#18294410)
The workforce leaves because the company doesn't raise the salary to account for new training.

You can't have it both ways.

Re:America’s Need for Skilled Immigrants Isn’t Going Away by turtlecloud on Wednesday October 24, 2018 @01:09PM (#18294321)
That by definition is called a “market force”. They should pay them more once trained.