in reply to Re^5: Radoteur
in thread Radoteur
In simple and obvious code I agree, but right now I am trying to educate myself so I can work on intricate code without making a mess.
You are entitled to your opinion concerning this practice. I feel that sometimes sacrificing some performance to ease of maintenance might be the way to go
Yeah, in the code I posted it isnt useful, the loops are quite obvious and so are the concepts behind the algorithm. I'll agree with you that it is a waste of ressources and the same effect could be obtained with comments.
Please bear in mind that I am not as experienced as you are and as I learn I try and apply what I consider to be best practices everywhere so I naturally start thinking that way first before choosing performance over readability.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Radoteur
by Athanasius (Archbishop) on Oct 21, 2015 at 09:06 UTC |