https://aphyr.com/posts/340-reversing-the-technical-interview
#lisp
Next one
https://aphyr.com/posts/341-hexing-the-technical-interview
> The color has begun to drain from Timโs face. Perhaps winter has come, and his coat is changing.
> (def racer
> (->> [0xca 0xfe 0xba 0xbe
> โWhat are these?โ
> โMagic numbers.โ You are, after all, a witch. โEvery class begins with a babe, in a cafe.โ
No shit, one of my few favorite things about Java is the magic number for a class file.
#java
Just remembered an interview I went to. I was mainly Obj-C, willing to do some Python, Java, sysadmin, etc. These are Java drones.
Whiteboard problem is some dispatch thing (not FizzBuzz but same class of problem). I first do it in Python, and they don't get it, so I do some Java reflection to get methods in an array for dispatch. ;-)
Later there's two pairing sessions. One's fine, he's loose and friendly. The other guy's a stiff, gets upset that I use untyped Hashtable, not generics.
#java
@mtae Right, need to use small words.
Pros and sarcastic ex-Java people (self) will make big stacks of factories, reflection, and objects-reifying-code, or even do JVM bytecode hacking, as a joke or comment, or to show off.
Drones don't use anything more complex than basic classes and accessors, they hit code-complete in Eclipse or copy-paste from stackunderflow.
If you don't understand why reflection is useful but probably not what the drones wanted to see, yeah, you don't get it.