You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2015-02-21-interviewing-for-a-front-end-job.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ tags: [allonge]
6
6
7
7
"The Carpenter" was a JavaScript programmer, well-known for a meticulous attention to detail and love for hand-crafted, exquisitely joined code. The Carpenter often preferred to work on contract, with clear deliverables and little or no need to sit through reshuffles and reorganizations as the tides of investment and management fashion came in and out in the ocean of tech.
8
8
9
-
The Carpenter normally worked through personal referrals, but from time to time a recruiter would slip through his screen. One such recruiter was Bob Plissken. Plissken lined The Carpenter up with a technical interview with a well-funded startup that made mobile chat software for delivery and logistics companies.
9
+
The Carpenter normally worked through personal referrals, but from time to time a recruiter would slip through his screen. One such recruiter was Bob Plissken. Plissken lined The Carpenter up with a technical interview with a well-funded startup in San Francisco.
10
10
11
11
The Carpenter arrived early for the "Thing Software" interview, and was shown to a small conference room, where he was joined by Christine, one of the company's developers.
12
12
@@ -74,7 +74,7 @@ The Carpenter was not surprised at the problem. Bob Plissken was a crafty, almos
74
74
75
75
Bob had, in fact, warned The Carpenter that "Thing" liked to ask either or both of two questions: Determine how to detect a loop in a linked list, and determine whether the chequerboard game would halt. To save time, The Carpenter had prepared the same answer for both questions.
76
76
77
-
"Using [babeljs.io](http://babeljs.io), I'll write this in ECMASCript 2015 notation. To begin with, I'll transform a game into an iterable that generates arrows:"
77
+
"Using [babeljs.io](http://babeljs.io), I'll write this in ECMASCript 2015 notation. To begin with, I'll transform a game into an iterable that generates arrows, using the 'Starman' notation for generators:"
Armed with this, it's straightforward to map an iterable of directions to an iterable of strings representing positions:
@@ -252,7 +252,7 @@ Christine looked at the solution on the board, frowned, and glanced at the clock
252
252
253
253
The Carpenter never did hear back from them, but the next day there was an email containing a generous contract from Friends of Ghosts ("FOG"), a codename for a stealth startup doing interesting work, and the Thing interview was forgotten.
254
254
255
-
Some time later, The Carpenter ran into Bob Plissken at a local technology meet-up. "What happened at Thing?" Bob wanted to know, "I asked them what they thought of you, and all they would say was, *writes unreadable code*."
255
+
Some time later, The Carpenter ran into Bob Plissken at a local technology meet-up. "John! What happened at Thing?" Bob wanted to know, "I asked them what they thought of you, and all they would say was, *Writes unreadable code*. I thought it was a lock! I thought you'd finally make your escape from New York."
256
256
257
257
The Carpenter smiled. "I forgot about them, it's been a while. So, do They Live?"
0 commit comments