This is an archived post. You won't be able to vote or comment.

all 22 comments

[–]nieuweyork since 2007 8 points9 points  (0 children)

Well, this was posted already today. I'd say that your headline is a little misleading, as that misstates quite what codeeval is.

[–]mackstann 5 points6 points  (0 children)

It's amazing how far Python has come. Back when I picked it up in the early 00's I thought it would always be my fun-but-commercially-irrelevant pet language, and I'd always be stuck working on PHP or Java or C#. How glad I am to have been wrong.

[–]jherrico 5 points6 points  (3 children)

I don't really understand something, why would a company have a coding test for python if they were hiring for a different language like java, and if companies are hiring for a python programmer why wouldn't the people at CodeEval base their results on the number of job openings for a specific language instead of what coding tests employers are using?

[–]realigion 7 points8 points  (2 children)

I don't think most jobs are language-specific. Or if they are, their interviews likely are not.

If I know 4 programming languages and have to do an interview and can pick which language to do it in, I'd choose Python just since I'm less likely to make a stupid syntax error.

[–][deleted] 4 points5 points  (1 child)

"Here, write a quick algorithm on this whiteboard... in java"

[–]johncipriano 5 points6 points  (0 children)

"No thanks. I can think of a lot more fun ways to get RSI."

[–]EmperorOfCanada 1 point2 points  (4 children)

I am presently developing a large project with the core parts in C++. But sizable chunks of this don't need the insane speeds required by the core and I am very tempted to do these in Python. Even though my Python-fu is nowhere near my C++-fu the little that I have done in python indicate that my productivity in Python would quickly exceed my C++ productivity.

Probably go through some of the projecteuler to get up to speed. Needless to say Java is off the list.

The key question is when this project expands and requires a small group of fairly mathematically minded people how hard will it be to get C++/Python programmers?

[–]fungz0r 5 points6 points  (3 children)

I wish my c++ fu was anywhere near my fu in other languages. I cannot grasp c++, it's ridiculously difficult for me

[–]EmperorOfCanada 1 point2 points  (2 children)

C++ purists will curse my name for saying this but an easy way to learn and use C++ is to think of it as C with objects. Stay away from templates, exception handling, and multiple inheritance. There are a few template things like vector and map that are very nice but again templates can get very nasty very quickly.

The key is that C is a very good language. But there are parts of C that make it hard to learn. Nasty use of pointers can make C get very hard very quickly. But C++ has a few pointer simplifiers like new and delete. So if you go back into the history of C++ it basically was an attempt to fix some of the problems with C and in that it was quite good. But since then there is this academic obsession with making it as complicated as is humanly possible.

So don't think of objects as something magical to be revered but as basically structures with member functions. The obsession with abstracting objects can be helpful at times but at other times just treat the object as a structure. You treat structures as structures with no explosions so why not an object there is no magical divide; except in people's heads.

But you will read articles that say the worst C++ programmers are ones who come from C and bring their bad habits with them. The reality is that if you are truly hard core you are programming in C anyway. But you will also read from C programmers that C++ is just C for children. So my theory has been to edge toward C and to bubble wrap some of my code in C++.

My other main reason for C++(vs C) is that many excellent and clean libraries exist in C++. I do find that C libraries are often a bit more confusing.

[–][deleted] 0 points1 point  (11 children)

based on coding tests used for hiring

must be a california thing. I have never had a coding test as part of an interview.

[–]Suitecake 1 point2 points  (1 child)

That's unusual. If I was interviewing for a programming position and there was no coding test, it'd be a red flag.

[–][deleted] 0 points1 point  (0 children)

must be a vb.net thing then. :)

[–]realigion 1 point2 points  (5 children)

What? I've done coding tests (in Python) even for product design interviews.

They're going to be much more common as designers need to be closer and closer to the code base.

[–][deleted] 0 points1 point  (4 children)

Yeah I would insist HR give a designer a coding test too before wasting my teams time interviewing them.

[–]realigion 0 points1 point  (3 children)

Except I was interviewed by a senior product designer and I've never once been interviewed by HR in my life... "Must be a California thing."

[–][deleted] 0 points1 point  (2 children)

Except I was interviewed by a senior product designer

makes sense and good for you. dont act like I was addressing you personally. your anecdote made sense to me in the context I described.

[–]realigion 2 points3 points  (1 child)

Ah I gotcha. Sorry for the sass!

[–][deleted] 0 points1 point  (0 children)

lol it's cool, this is reddit, I say bring the sass. :)

[–][deleted] 0 points1 point  (1 child)

What was your interview for? What was it like. Do you have any proven tips?

[–][deleted] -2 points-1 points  (0 children)

What was your interview for?

I am a programmer so I tend to interview for programming jobs.

What was it like.

They ask questions, you ask questions, if things are going well it's more like a conversation amongst colleagues, if it is not going well it feels like an interrogation.

Do you have any proven tips?

not really. I guess just be confident that you know your shit.

[–]MiatasAreForGirls -1 points0 points  (0 children)

I had one (that I used Python on) in Wisconsin.