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.

Don't Be an Evolutionary Programmer

1 pointsby whackover 1 year ago

1 comment

eesmithover 1 year ago
The author is describing a randomized search method, and not an evolutionary method. Stochastic optimization like this includes evolutionary algorithms but also other methods. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Stochastic_optimization" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Stochastic_optimization</a><p>&quot;Evolution is the change in the heritable characteristics of biological populations over successive generations&quot;, says <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Evolution" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Evolution</a> . The key part is <i>populations</i>.<p>That&#x27;s why <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Evolutionary_computation" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Evolutionary_computation</a> also described evolutionary computation as &quot;a family of population-based trial and error problem solvers with a metaheuristic or stochastic optimization character&quot;.<p>Hacking away at a single code base is not working with a population of code bases, and certainly does not match the description at <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Evolutionary_programming" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Evolutionary_programming</a> .<p>Even those hacking away at a single code base are not making random changes, and we only have second-hand evidence that the interviewee &quot;started mutating random parts of his code, and rerunning, just to see if that somehow fixed things&quot;.<p>It&#x27;s a junior programmer trying to build up an understanding of what the system is doing, but without the experience to know to go and re-examine the test input for validity.