jstp icon indicating copy to clipboard operation
jstp copied to clipboard

Shape up the basic usage examples

Open aqrln opened this issue 7 years ago • 2 comments

Is anyone willing to write a couple of usage examples (something completely basic like a server with one method and a client that calls it to begin with, and a bit more complex apps later)? The examples directory is where they are supposed to reside in.

@nechaido would you be interested in doing that? /cc @belochub

aqrln avatar May 05 '17 18:05 aqrln

@aqrln yes, I am. But I think we`ll need tests first. Also good written test is an example itself, we can use them as examples if we remove asserts and other testing stuff. Am I right?

nechaido avatar May 05 '17 18:05 nechaido

@nechaido good written tests are examples to some extent, but examples that are supposed to be examples are better examples ;)

But that's okay, if you want to dedicate your time to tests first, then go for it, that would be great 🎉

aqrln avatar May 05 '17 19:05 aqrln