📜 ⬆️ ⬇️

Rootless Root in Russian. Revelation the third.

This revelation was difficult for me. Even in the English version, the moral of this revelation was hard for me to grasp, so do not kick hard.
In general, here:

- Teacher Foo's Reasoning on Two Ways

Teacher Foo told his students:
')
“There is a direction in the Dharma teaching, an example of which is the mantra of the patriarch McIlroy“ Do one thing well. ” This direction teaches that the spirit of Unix is ​​in the program only when its behavior is simple and consistent, when its properties are readily perceived by the user's mind and can easily be used in other programs. ”

“But there is another direction in the Dharma teaching, exemplified by the great mantra of the patriarch Thompson“ When in doubt, go right through, ”and various sutras, which speak about the benefits of getting 90% of the result right now than 100% later. The teaching is aimed at solidity and ease of implementation. "

“Now tell me: what programs are imbued with the spirit of Unix?”

After a pause, Nooby noticed:

"Mentor, both of these Paths are not entirely correct."

"The simplicity of implementation entails a lack of logic for handling exceptions, such as a lack of resources, or when interlocking is impossible, or it can lead to a timeout when the transaction is incomplete."

“When these exceptions are thrown, the program’s work will become unstable and difficult. Isn't that the spirit of Unix? ”

The teacher nodded in agreement.

“On the other hand, it is well known that all fancy algorithms are unreliable. Each attempt to provide an exception involves changes in the basic algorithms of the program and in the code that handles other exceptions. ”

“Thus, the desire to provide for all exceptions, guaranteeing“ simplicity of description ”, can actually turn into a code that is too complicated and fragile, and error-prone - never comes to release. The same is not the spirit of Unix? "

Teacher Foo nodded again.

“What direction is Dharma more correct?” Asked Nubi.

The teacher said:

“The flying eagle does not forget that its paws touched the ground. The attacking tiger does not forget the feeling of flying in a jump. The right direction is a kilo of good architecture! ”

And enlightenment came down on Nubi as soon as he heard it.

Copyright 2003 Eric S. Raymond

Revelation Fourth.

The translation was made with the participation of maniaque . Special thanks to him for the translation of the phrase "Three pounds of VAX".

Source: https://habr.com/ru/post/23375/


All Articles