Am 17.05.21 um 10:33 schrieb Rainer Hans Liffers:
Whereas I believe that only mathematical principles shall guide the way in which a program is designed and implemented: I impose these principles on the available features of the programming language used. -
Hello Rainer, this is, as you state correctly, a belief. However, you seem to miss that the horizon of reality and experience is wider than what can be derived from first principles. Some parts of software development are indeed construction and engineering, a very tiny part is even mathematical reasoning, and rightfully so. Yet on the large, software development is a craft, and a collaborative undertaking. Code is written to be understood, maintained and reworked by other people; thus "the way to put it" is of equal importance than the principles and methods used to ensure the code's soundness. The structures we build together, over time, are larger and more long-lived than what a single person can grasp or recall. And this is what led to the formation of a coding craft, with various idioms, work routines and design patterns -- patterns which are successful because they likewise convey the understanding of a problem and lead to a solution which holds up well under circumstantial change. Most of the points indicated in my review of your code are drawn from that coding craft plus the idiomatic use of C++ and are pretty much commonplace, so you might take that encounter as a reminder that there are lots of insights to catch up upon in the wider world beyond mathematical truth. -- Hermann _______________________________________________ Yoshimi-devel mailing list Yoshimi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/yoshimi-devel