4 ms·
> Does coding not require thinking or what? Code is deterministic, and language is not. If I write: total = 0 for x in [1, 2, 3]: total += x …nobody is goi
by objclxt 12d ago
> Does coding not require thinking or what?
Code is deterministic, and language is not. If I write:
total = 0
for x in [1, 2, 3]:
total += x
…nobody is going to argue with me that “total” is anything but 7.
But language is different. What you perceive and what I perceive from the written word can be completely different (e.g https://youtube.com/watch?v=naleynXS7yo&ra=m https://youtube.com/watch?v=naleynXS7yo&ra=m )
- gonzalohm 12d agoThat's not the argument in the article. Not only that but coding is deterministic up to a certain point. Once the project becomes complex, it becomes harder and harder to account for all edge cases. Sometimes it requires heuristics that are not deterministic, etc. There are infinite ways to implement the same requirements. That argument is like saying that weather is deterministic. It is if you know every single variable, but that's impossible.
- alansaber 12d agoYes but on the sliding scale of how deterministic is this task- writing, not very. coding, can execute and write some tests (even if gamed/bad).