<story><title>Daniel Gross: Why Energy Is the Best Predictor of Talent</title><url>https://www.safegraph.com/podcasts/daniel-gross-why-energy-is-the-best-predictor-of-talent</url></story><parent_chain><item><author>bryanrasmussen</author><text>I worked with a really energetic guy a few years ago, I remember these things - he wrote code that looked sort of like this:&lt;p&gt;const antilooped = [];&lt;p&gt;const looped = [];&lt;p&gt;const looper = data.map((item) = {&lt;p&gt;if (item.nonX) {looped.push(item) }&lt;p&gt;if (item.nonY) {antilooped.push(item)}&lt;p&gt;});&lt;p&gt;then would not use half of the variables he instantiated, and probably merge looped and antilooped arrays in some weird way. Invariably debugging his code led to me just rewriting it all.&lt;p&gt;And I remember just about the first thing he asked me is if I went to prison in Jylland in Denmark and a big guy named Ole wanted to make sweet love to me would I do it or would I rather die, and then he volunteered he would rather die. This turned out to be his typical lunch time small talk.&lt;p&gt;on edit: just to be clear, he didn&amp;#x27;t use the looper array for anything.</text></item></parent_chain><comment><author>sublimefire</author><text>People need to be trained at work. There is nothing wrong with a person making mistakes; we all did them. AFAIK the problem is usually mentoring. At work, I observe &amp;quot;leaders&amp;quot; not having time to give a hand and explain stuff.&lt;p&gt;Otherwise, there is a simple rule for engineers: do not write the code that makes the next engineer fantasize about your death.</text></comment>
<story><title>Daniel Gross: Why Energy Is the Best Predictor of Talent</title><url>https://www.safegraph.com/podcasts/daniel-gross-why-energy-is-the-best-predictor-of-talent</url></story><parent_chain><item><author>bryanrasmussen</author><text>I worked with a really energetic guy a few years ago, I remember these things - he wrote code that looked sort of like this:&lt;p&gt;const antilooped = [];&lt;p&gt;const looped = [];&lt;p&gt;const looper = data.map((item) = {&lt;p&gt;if (item.nonX) {looped.push(item) }&lt;p&gt;if (item.nonY) {antilooped.push(item)}&lt;p&gt;});&lt;p&gt;then would not use half of the variables he instantiated, and probably merge looped and antilooped arrays in some weird way. Invariably debugging his code led to me just rewriting it all.&lt;p&gt;And I remember just about the first thing he asked me is if I went to prison in Jylland in Denmark and a big guy named Ole wanted to make sweet love to me would I do it or would I rather die, and then he volunteered he would rather die. This turned out to be his typical lunch time small talk.&lt;p&gt;on edit: just to be clear, he didn&amp;#x27;t use the looper array for anything.</text></item></parent_chain><comment><author>itronitron</author><text>Did he think he was still in the job interview?</text></comment>