Code Comprehension
Surely it's better to write this:
romdata[addr-0x8000] = v1;
romdata[(addr-0x8000)+1] = v2;
like this:
romdata[(addr-0x8000)+0] = v1;
romdata[(addr-0x8000)+1] = v2;
Ok, it's a bit more typing but it's easier to understand, surely?
No comments:
Post a Comment