This actually gives me some confidence in my programming skill level.
I was thinking the same thing. I mean, I just did a coding test for a potential job, and I know I did at least as good as, and likely better than this.
edit: just to prove to myself, I went ahead and wrote the program without looking things up. I’m self-taught so I feel pretty proud. It took about 25 mins, and it works!
“Introductions and a bit of smalltalk” - I would shit myself if an interviewer started asking about smalltalk… /s
The fuck kind of programming language is “smalltalk”?
It inspired python’s syntax iirc
I write a lot of PHP for part of my job.
The beauty of PHP is that for any given task, there are always multiple ways to do it, all of which are wrong.
Any sufficiently skilled developer has a bunch of things they hate about the language they use the most, and are happy to tell you about it.
This is a characteristic I unironically keep an eye out for when hiring.
I used to work at a company that used XSLT. They know that it’s an obscure language that probably none of the potential candidates have ever worked with. But it’s easy enough to learn the basics in an hour or two.
So the entry test was to strip some tags from an XML file. You had a day or two (maybe more) to do it. My solution wasn’t ideal, I didn’t use several of the shortcuts available in the language. But at least it did what it was supposed to.
A few weeks after I had started working there my boss came up to me, visibly frustrated and asked me whether the test was too hard. Thinking back on my problems I replied that maybe having the desired output ready so that you could test your own solution against it might be nice. But my boss’s problem was that none of the last 5 candidates could even send in a solution that would run.
You had so much time, and running an XSLT script is really easy and takes no time at all. And for some inane reason these people couldn’t even manage to test their code and still decided to send it in.
And I thought I was an idiot when I didn’t know if it was spelled grey or gray in CSS during the in-person interview.
It is very good test for the ability to research, I think. The amount of people who painstakingly went through some video tutorial on PHP and are now developers is insane. I’m sure there’s place in the market for them (writing Wordpress themes/plugins, for example), but it’s hard to find a programmer with ability to think these days. Not because people are more stupid, but because every other person is a programmer now.
I would just use #888888 anyway, but which way is it spelled, out of interest?
I wanted to answer “grey”, full of confidence. Then I decided to look it up to be sure and found out that it’s “gray”.
The test was to spot mistakes in a simple html file. So I couldn’t substitute anything. And my favourite gray color is #666.