Quora Feeds
Active Member
Franklin Veaux
Because it’s difficult, it makes code that’s hard for other people to read and maintain, and there’s little or no practical benefit for doing so.
Consider the difference between these bits of code:
LD HL, (FECBh)
LD A, (HL)
INC A
LD (HL), A
or
numberOfArrows(ebony)=numberOfArrows(ebony)+1
or
player.AddToInventory ebonyArrow
Given those three bits of code, which is easiest to understand? Which is easiest to write?
See Questions On Quora
Continue reading...
Because it’s difficult, it makes code that’s hard for other people to read and maintain, and there’s little or no practical benefit for doing so.
Consider the difference between these bits of code:
LD HL, (FECBh)
LD A, (HL)
INC A
LD (HL), A
or
numberOfArrows(ebony)=numberOfArrows(ebony)+1
or
player.AddToInventory ebonyArrow
Given those three bits of code, which is easiest to understand? Which is easiest to write?
See Questions On Quora
Continue reading...