31 ms·
Plenty of "most of the time" on the way from DNA to proteins, and chances are that "code" developed through eons of diceroll trial+error will end up relying on
by usrusr 5y ago
Plenty of "most of the time" on the way from DNA to proteins, and chances are that "code" developed through eons of diceroll trial+error will end up relying on ambiguities more than being harmed by them.
But doesn't the software mindset, again, have better mental models for things like that than most other disciplines? Think "relying on undefined behavior", or that old question of bug or feature. Sure, there are many pitfalls and possibilities for wrong conclusions to be drawn, but I'd dare to say that the "coding mind" is better equipped to become aware of them than others and not worse.
edit, an example: we can imagine a piece of code that works both when compiled as java and when interpreted as groovy, but has a different outcome depending on what language it is. We might even have written some for entertainment (reminds me of that ambiguous-on-Apple PNG that made the rounds a few days ago). And we could easily imagine a system that would collapse unless it occasionally gets both, the "java" outcome and the "groovy" outcome. We certainly wouldn't deliberately build a system like that, but we could easily do if there was, say, an obfuscated gradle contest. And "deliberate" is out of scope anyways. Enter eons of dicerolls, enter a system that mostly controls itself via balancing (as we know full well from high level pharmaceutical science). Yeah, it's unpredictably complex, and the coding mind should be the last to jump from "GATC is essentially digital" to underestimating that complexity and unpredictability.
edit2: I think the core of what I wanted to say (but never even tried) is that someone not used to code will likely try to wrap their head around the "ifs" and "comments" and be so occupied by that that task that the result will be a mental model of predictability that won't map well to observed reality, whereas the coder, with years of "the daily wtf", won't for a moment see any contradiction between observed reality and "lots of kind of code-like things"
- hiptobecubic 5y agoThere are plenty of critical pieces of software that rely on the fact that they produce different behavior when interpreted as a different language.