Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Coder's Corner Lounge (http://www.programmingforums.org/forum11.html)
-   -   "Programmers" who can't program (http://www.programmingforums.org/showthread.php?t=12686)

titaniumdecoy Feb 27th, 2007 2:14 PM

"Programmers" who can't program
 
According to this article on Coding Horror, 199 out of 200 applicants for every programming job can’t write code at all. Thoughts?

DaWei Feb 27th, 2007 2:21 PM

Once, out of 400 applicants, I seriously considered 5. I wasn't looking for a hot-shot, either, just competency.

big_k105 Feb 27th, 2007 3:22 PM

That is a pretty interesting article, it is hard to think that someone would apply for a job that they aren't qualified for.

ps. The site is going in and out right now, Coding Horror is taking is taking a beating since that article is on the front page of digg, just in case anyone is wondering why they can't access the article.

kruptof Feb 27th, 2007 5:06 PM

As an Software Engineering student myself, there are some people who properly can't write a for loop, but they are in their fews, but as for writing programs on paper in a closed book environment then that would properly extend to the majority.

The type of graduates that the article refers to are properly students who came out with an 2:2, but there are people who are not good at the academic paper work but can solve a given problem,given that they have the base knoweledge

I think the image of the hard working student, who spent their time doing extra research and tackling today’s problems, is sadly diminishing

Arevos Feb 27th, 2007 5:28 PM

Quote:

Originally Posted by kruptof (Post 124519)
The type of graduates that the article refers to are properly students who came out with an 2:2

I find this funny, for some reason :)

milot Feb 27th, 2007 8:15 PM

Quote:

Originally Posted by kruptof
but there are people who are not good at the academic paper work but can solve a given problem,given that they have the base knoweledge

according to:

Quote:

Originally Posted by coding horror
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".

Want to know something scary? The majority of comp sci graduates can't. I’ve also seen self-proclaimed senior programmers take more than 10-15 minutes to write a solution.

But they didn't solve the FizzBuzz problem and they where thinking at least for 10 or 15 minutes to solve a very *tiny* problem, how will come they to solve bigger (or complex) real-world problems?

Jimbo Feb 27th, 2007 9:10 PM

This explains why all my interviews had coding questions... :beard:

Jessehk Feb 27th, 2007 10:30 PM

Well, for what it's worth... ;)

:

  1. #include <stdio.h>
  2.  
  3. #define TRUE 1
  4. #define FALSE 0
  5.  
  6. void fizzbuzz( int n ) {
  7.     int i;
  8.     int f_or_b;
  9.  
  10.     for ( i = 1; i <= n; i++ ) {
  11.         f_or_b = FALSE;
  12.  
  13.         if ( i % 3 == 0 ) {
  14.             f_or_b = TRUE;
  15.  
  16.             printf( "Fizz" );
  17.         }
  18.  
  19.         if ( i % 5 == 0 ) {
  20.             f_or_b = TRUE;
  21.  
  22.             printf( "Buzz" );
  23.         }
  24.  
  25.         if ( f_or_b == FALSE )
  26.             printf( "%d", i );
  27.  
  28.         puts( "" );
  29.     }
  30. }
  31.  
  32. int main( void ) {
  33.     fizzbuzz( 100 );
  34.  
  35.     return 0;
  36. }


Jimbo Feb 28th, 2007 12:28 AM

Quote:

Originally Posted by Jessehk (Post 124535)
Well, for what it's worth... ;)

Translates into you know you're bored when:
:


#include <iostream>
using namespace std;

class O{public:
O(){for(int o=1
;o<101;o++){int
O=0;if(!(o%3)){
cout<<"Fizz";O=
!0;}if(!(o%5)){
cout<<"Buzz";O=
!0;}if(!(O)&&o)
cout<<o;;cout<<
std::endl;}}}o;
int main(){;??>

:p

titaniumdecoy Feb 28th, 2007 12:39 AM

Is this going to turn into a "500 Ways to Write the FizzBuzz Program" thread? (Ah, the memories :p)

This is probably the simplest solution there is, in Python:

:

for i in range(1,101):
    if i % 3 == 0 and i % 5 == 0:
        print "FizzBuzz"
    elif i % 3 == 0:
        print "Fizz"
    elif i % 5 == 0:
        print "Buzz"
    else:
        print i



All times are GMT -5. The time now is 2:01 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC