2 ms·
This is a really good question and one that I'm having trouble answering. I find that I don't read through code in a definable way, it's more organic. I think
by geedee77 18y ago
This is a really good question and one that I'm having trouble answering. I find that I don't read through code in a definable way, it's more organic. I think it really comes down to (as previously mentioned by someone) why I'm reading through it.
Example, at work sometimes I need to read through other peoples code for reviews / bug fixes / enhancements. In that case I'll read the bits that matter or that I'm not sure what they're doing. Other times I might read, for example, the source to jQuery or a site or something to find out how something being done. In that case I'll try and follow where it does things by jumping between function as the compiler / interpreter would.
Where I read code is, again, something that isn't hard and fast. I'll more often than not just open it in a text editor (notepad as I'm a Windows man) but sometimes I'll load it into an IDE if it's particularly long or I'm having trouble following it in notepad.
Good question though!