View Single Post
Old 03 March 2020, 23:34   #183
VladR
Registered User
 
Join Date: Dec 2019
Location: North Dakota
Posts: 741
Quote:
Originally Posted by meynaf View Post
Does optimisation reduce readability ?
Not always, but sometimes yes. However you should notice that at the time of doing it. And then it might be a good idea to add some comment explaining what you've done, so it doesn't get abused later.
That's a Catch-22 right there for me unfortunately

But, on 1.79 MHz 6502, the approach I found works best is wrapping each version in a separate compile-time block with two lines of description of the changes to the previous one.

One such texturing method received about dozen versions and it never takes more than 15 minutes to understand them.

But if I had just the last one, it would be merely WTF moment

I'm all ears how you guys handle this.
VladR is offline  
 
Page generated in 0.04770 seconds with 11 queries