4 ms·
vim and firebug How do you write your js? I write a few lines and then test the functionality, reduces the scope of where I have to hunt down bugs.
by aschobel 19y ago
vim and firebug
How do you write your js?
I write a few lines and then test the functionality, reduces the scope of where I have to hunt down bugs.
- nostrademons 19y agoThat should be standard operating procedure in any language - makes it much easier to track down bugs and much harder to get into a state where you have to throw away lots of code because you broke everything. I usually write a few lines, refresh & test manually, write a JSUnit test case to cover what I just checked out, run tests & hope for a green bar, check-in, then repeat.