Re:Show HN: I started a repo for sharing algorithm implement...
by cmpitg on Monday December 23, 2013 @09:12PM
(#6957859)
How do you make sure the correctness of the implementations? Shouldn't there be tests?
[ Parent
| on HN ]
Re:Show HN: I started a repo for sharing algorithm implement...
by kennyledet on Monday December 23, 2013 @11:37PM
(#6958246)
Precisely. This is something that I have plans on implementing, but obviously I don't have the whole day 24/7 to manage this repo man. I'm doing other things right now (work), that's why I took so long to even answer the initial comments in this thread.
Re:Show HN: I started a repo for sharing algorithm implement...
by ericHosick on Tuesday December 24, 2013 @01:26AM
(#6958506)
Tests and behavior should be defined before the code.
I recommend you comment out all code, write the tests and then un-comment the code line by line.
This not only tests the code, but tests the tests and assures that you are covering the edge cases the code contains already.
Re:Show HN: I started a repo for sharing algorithm implement...
by kennyledet on Thursday December 26, 2013 @11:11PM
(#6969366)
Update: Unit tests are now a convention.
Re:Show HN: I started a repo for sharing algorithm implement...
by goldenkey on Monday December 23, 2013 @09:54PM
(#6957981)
The code is the test. If the code runs without compilation errors, then use it for healthcare.gov </sarcasm>
Re:Show HN: I started a repo for sharing algorithm implement...
by kennyledet on Tuesday December 24, 2013 @05:04PM
(#6961298)
You forgot to open the the sarcasm tag :)
Re:Show HN: I started a repo for sharing algorithm implement...
by goldenkey on Wednesday December 25, 2013 @03:36AM
(#6962597)
That's part of the hidden DOM. Implicit. ;-)
Re:Show HN: I started a repo for sharing algorithm implement...
by kennyledet on Thursday December 26, 2013 @11:11PM
(#6969362)
Sorry, but explicit > implicit for markup.
Btw, how's that repo going? :)