3 ms·
Why do you say it's a simple method, if it is 150 lines long? Are some lines not necessary? There is a logic to keeping logic together if it is isolated: http:
by Demiurge 12y ago
Why do you say it's a simple method, if it is 150 lines long? Are some lines not necessary?
There is a logic to keeping logic together if it is isolated: http://number-none.com/blow/john_carmack_on_inlined_code.html http://number-none.com/blow/john_carmack_on_inlined_code.htm...
Context is important, to anyone developing D3 code, this code might be obvious and comments would be unnecessary. Considering 'geterdone' attitude of many game projects, with high levels hackery, this is very nice code.
- golergka 12y agoThanks for the link, it's a very fascinating read! By the way, I discussed this issue on Programmers stack exchange a while back, you might find this interesting: http://programmers.stackexchange.com/questions/277098/method-extraction-vs-underlying-assumptions http://programmers.stackexchange.com/questions/277098/method...