Some Tricks #1

Open
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants
@timoxley

Hi, thought I'd show you some tricks you can do when developing your modules in the future.
#1. chop.chop? export the "primary" usecase as a function, and hang any additional functions off that. see chop.js
#2. Always have tests.

@mcandre

This comment has been minimized.

Show comment Hide comment
@mcandre

mcandre Mar 20, 2012

Owner

Yes, test driven development is ideal. I'd like to add more rigorous tests, such as generating text with random line endings and chopping/chomping that in the style of quickcheck.

Owner

mcandre commented Mar 20, 2012

Yes, test driven development is ideal. I'd like to add more rigorous tests, such as generating text with random line endings and chopping/chomping that in the style of quickcheck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment