Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
garrettw2698yI keep trying to get into it but it often feels so backward compared to the way I normally think about coding, so it doesn't always happen. :/
-
mohseen2328y@garrettw setup your build and test suite first thing in a new project. Found that helps.
-
garrettw2698y@mohseen Yeah, it helps at first, but it's usually not long before I feel the urge to write code as I think of it rather than writing the behavior of it first. As I'm a PHP dev, my suite of choice is PHPSpec. It makes TDD (or really BDD in this case) easy, but you still have to make yourself conform to that way of doing things.
-
mohseen2328y@garrettw oh I get you know, yeah adapting that takes time. I write node Js applications, so writing the specs first, API later is a bit more easy and natural process.
Related Rants
First time used the TDD approach. I knew I needed to use it but never quite used it cause I thought it would slow me down. I was so wrong!
Mocha and chai js rock 🤘
undefined
level up
tdd