if you want to get actual value out of a coding “interview”, trash your “leet code” dick measuring contest and give me code to refactor, debug, or even… write docs or tests for.
we all know that “write a dijkstra shortest path algorithm” test (looking at you google) is more of an indication of your inability to understand people and jobs, as well as some way for you to feel better about yourself.
also, as someone who actually took classes with dijkstra, i still have ptsd from it.

@petrillic

I've heard 2nd-hand Dijkstra horror stories from my grad. school department head. Yike!

@danmcd he was neither a nice person nor a good teacher.

@petrillic

Definitely jives with the stories I heard, then.

@petrillic to be fair, it's also a great way to filter out people who didn't get CS degrees from particular schools!

...

@cliffle which, if we're honest, is pretty much the main use case.

which is how you get every company building its own build system and thinking _that_ is where time should be spent.

@petrillic

I used to shadow interviews at Google from time to time. Between that and hiring committee I saw some stuff.

One interview, the interviewer noticed that he and the candidate (also a he) both played lacrosse in college. No technical questions asked, hire recommended.

Anyway, I'm agreeing with you in a roundabout fashion.

@petrillic this is literally what I do. At my last job I would give people this awful C multithreaded echo server I banged out in an hour once. It didn't even compile and had both logic and concurrency issues. Started off with "you've just been hired and your first task is to rehabilitate this code someone who just left the company was working on. Help me figure out what it is and then get it working."

Always got great results out of it. Very open ended, candidates could lean into their talents, but you always learned a bunch about them.

I wouldn't be able to do it properly at my current job and it's made me not want to even do interviews here.

@petrillic next time i interview for a job, if they do code this, i think i will decline. I am not the bes programmer in the world but I can understand and fix most stuff. Writing from scratch it's not my thing
@petrillic we also pay people (alas if they aren’t restricted) to do anything like this. We expect people to take a few hours so we compensate them for their time (obviously this is after initial interviews)
@harold at $previous we did a take home coding exercise that was super simple. write a basic web api that adds two numbers. but you should write it like you were going to give it to someone else. so we wanted tests, docs, etc. we scaled our expectations for 1-2h of work