tdd : rails, rspec, etc.
@utkukaynar, #LYK2016, #rails
• SOLID, değişime dayanıklı kod
• Kendi kendisini test eden yazılım
• Müşteri / kullanıcıda patlamayan buglar
• Kazanılan zaman
• Çevik / sağlıklı yazılım geliştirme
• daya-geç driven development
"What goes wrong with software? The software starts to rot.
At ﬁrst it isn’t so bad. An ugly wart here, a clumsy hack
there, but the beauty of the design still shows through. Yet,
over time as the rotting continues, the ugly festering sores
and boils accumulate until they dominate the design of the
application. The program becomes a festering mass of code
that the developers ﬁnd increasingly hard to maintain."
A class should have one, and only one, reason to
Open Closed Principle
You should be able to extend a classes behavior,
without modifying it.
Derived classes must be substitutable for their
Make ﬁne grained interfaces that are client
Depend on abstractions, not on concretions.