çok kod mu az kod mu?

klasik bir yazılımcının herhangi bi projeyi bitirmeye uğraşırken hep başına gelen bi durum vardır yaz bitir ne çıkarsa, derle toplamı yapsam. yoksa düşünüpmü yazsam bu kod fazlamı oldu azmı oldu soruları döner durur. bu projeden projeye, yazılımcıdan yazılımcıya ve durumdan duruma değişir.

velhasıl az kodmu iyi çok kodmu iyidir ? sorusunun cevabı tam anlamıyla verilemez çünkü argümanlarımız çok fazla. fekat yine nette surferken bu soruyu gördüm ve verilen cevaplardan biri çok hoşuma gitti çevirem dedim.

The best code is no code. No testing, no maintenance, no bugs, no regressions.

You do have to write some code of course but it’s the code you don’t write that sets you apart.

yani: en iyi kod olmayan koddur çünkü test edilmesi bakım yapılması debug edilmesi gerekmez. tabiiki kod yazmalısınız ama sizi diğerlerinden ayıran yazmadığınız kodlar olacakdır.

yazılımsa bu kadar felsefi bakmamak lazım fikrini benimse bu cümleyi tuttuğumu söylerim

Good Code vs Bad Code

Sometime I talk with my programmer friends about data structure and design patterns and good code. I think there is good code but it does not matter if you see it at first it takes sometime to understand it. thats why if you start swearing at someone’s code who worked the place before you. no matter how was good that code was. here is a good explanation of that situation 🙂
at the end there is no looking at code and not swearing 😀