TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A recruiter sent me a message in code. I fixed it

48 pointsby riebschlagerover 8 years ago

19 comments

TamDenholmover 8 years ago
This feels to me like when you're a teenager and your parents try to be cool around your friends but it only makes you more embarrassed and want nothing to do with them.
评论 #13285986 未加载
amorphidover 8 years ago
When I was a recruiter learning to code, I posted a personal's ad written in SQL on Craigslist. Ended up going out on a date with a DBA :) She was a falconer, and we took her hawk out to hunt crows.
评论 #13285954 未加载
评论 #13286034 未加载
评论 #13285914 未加载
评论 #13287128 未加载
评论 #13286244 未加载
bryanrasmussenover 8 years ago
jokes on the coder, that&#x27;s actually written in recscript, a little known scripting language with a sort of C like syntax targeting Microsoft&#x27;s old ActiveScripting framework.<p>The Document object is one of the 7 special objects available in the language (others: Resource [every other special object is an instance of Resource], Sheet, Calendar, Sound, Presentation, Database, Browser). Since there isn&#x27;t any use of the Create Document statement before usage I&#x27;m guessing this is after version 2.14 of the language in which Create was dropped as unnecessary (a bit of syntactical sugar).<p>Anyway Document instantiates a Microsoft Word object and saves it to recscript Documents folder automatically, all text inside of it is indexed, so you can also do stuff like Resources.find(&quot;you’fe killing me! Contact me because I desire this&quot;);<p>By the way the recscript code editor which provided an advanced code execution environment to develop in (something like JsFiddle only years prior) also supported open and close parenthesis.<p>IIRC the open and close parenthesis had special semantic meaning in the language.
评论 #13289223 未加载
AdeptusAquinasover 8 years ago
Spelling mistake on line 43 of the revised code: &#x27;and&#x27; should be &#x27;an&#x27;. That&#x27;s just sloppy.<p>I am working with a french developer right now (English second language) who is really good, but peppers his code with minor grammatical or spelling errors. He is slowly driving me insane and doesn&#x27;t know it :D
评论 #13285882 未加载
KirinDaveover 8 years ago
I think the nested while loops are trying to capture the logic that they won&#x27;t leave you alone without trying at least twice.<p>Sadly the do-while loop structure is largely lost on modern developers.
tyingqover 8 years ago
Tried fixing it so it would run, and the hardest bit was recognizing that the double-quotes weren&#x27;t actually double-quotes, but rather these two characters: “ ”
评论 #13285809 未加载
评论 #13285794 未加载
throwaway2016aover 8 years ago
More accurate title would be &quot;I code reviewed it&quot;... I don&#x27;t see a working fixed script anywhere.<p>Edit: I stand corrected. For some reason I thought that was the only file in the repo. It&#x27;s been a long week but I have no excuse.
评论 #13285838 未加载
评论 #13285851 未加载
praptakover 8 years ago
&quot;Clever&quot; messages in code were clever back in... actually they never were.
评论 #13285814 未加载
qwertyuiop924over 8 years ago
Sheesh. If you&#x27;ve got it, don&#x27;t be afraid to show it. But do so cleanly. Not with something like this<p>And if you don&#x27;t have it, than don&#x27;t bother trying: you&#x27;re trying to hire those who do: doing this doesn&#x27;t make you look smart.<p>Also, use \&lt;newline&gt; to keep your code at 80 columns. I actually don&#x27;t care if it&#x27;s exactly 80, but excessively long lines are a pain to read.
quinnftwover 8 years ago
You would think someone that works at LinkedIn, a company that likely employees hundreds (thousand(s)?), of engineers would have this proof read before sending it off to potential applicants. This is a real turn off.
评论 #13285931 未加载
vinayan3over 8 years ago
It could be the code was sloppy on purpose to illicit a response from you.
评论 #13286187 未加载
taurathover 8 years ago
When does someone make RecruiterEmail EnterpriseEdition?
MichaelBurgeover 8 years ago
Google docs will capitalize keywords in your code if you don&#x27;t disable it. I haven&#x27;t tried it, but I imagine they ruin your indentation too.
dabberover 8 years ago
If any one wants a bunch of emails from curious HNers the domain the script addresses the email to is unclaimed.<p>supertechcoderhirepeople.com
TheCapnover 8 years ago
Didn&#x27;t he miss a closing brace with the While-While-If structure and only ending with two closing braces?
评论 #13286280 未加载
gshulegaardover 8 years ago
Just curious, but why does capital &quot;If&quot; make you think of Python?
评论 #13285782 未加载
评论 #13286219 未加载
andrewvijayover 8 years ago
They better recruit him
mrkabukiover 8 years ago
What a shit piece of code. Recruiters should stop trying to be cool
akhilcacharyaover 8 years ago
&quot;How do you do my fellow developer&quot;