Comparative Debug;
Sometimes it is not clear which algorithm is best for your program. Thus , it will be useful if there is something that allows to compare two alternative codes easily. People mostly preferring comments to do this. But I think there should be some support in IDE. For example some key combination assigns code partition to first version of execution where another key combination assigns code partition to second version.
Karsilastirmali debug islemi IDE'ler tarafindan desteklenseydi faydali olurdu. Cogu zaman hangi kodun daha iyi oldugunu bilmiyoruz comment in comment out yaparak denemeler yapiyoruz. Bunun yerine IDE bazi tus kombinasyonlari ile degisik kod versiyonlari olusturup bunlari karsilikli calistirmaya izin verseydi guzel olurdu. Bu version control sistemlerindeki branch olayinin kucuk bir hali olarak dusunulebilir.
No comments:
Post a Comment