On 31.05.25 13:52, Will Godfrey wrote:
I was quite unaware of this. In my defence, the code I developed for bit
manipulation in the CLI was done in 2015.

The code you wrote was perfectly fine, we all used to do it this way,
with bit-or / bit-and negation, and I recall quite well how proud I was
once I got how that works.

The idea to be wary about low-level manipulations is something newer
and gradually became prevalent during the last 20 years or so.
It is based on the (scientific) observation, that even very experienced
programmers tend to produce some kind of "bug baseline", say one mistake
every 50 lines of code we write. So expressing things on a higher level
could reduce the possibility to introduce bugs.

Actually I have ambivalent feelings regarding this aspect.
I don't know how I will feel when at some point a youngster will
yell at me that I should not touch C++, but rather tell some "AI"
what I want to have coded.

;-)

-- Hermann






_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to