-
Notifications
You must be signed in to change notification settings - Fork 46
Clojure plugin docstrings #89
Conversation
@carocad Cool and thanks! I'll take a longer look soonish. |
:else (pr-str res)))) | ||
|
||
(defn truncate [v] | ||
(defn truncate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find any references to this function. I think it's safe to remove, ignore for now, or just change the docstring to reflect that it's not used.
@carocad I'm going to defer to @cldwalker and @rundis about whether to merge this as they've been more active in maintaining this code. Would you mind writing up some of what you learned, or already knew, about watches – in a separate (Markdown) document too? That's what I was expecting originally. |
@kenny-evitt initially I thought the same: put all of it in a separate file. Nevertheless as you suggested and, after seeing the strong relation of watches to how LT works in general I thought that it would be better to actually document the source code. I already added the relevant links to my sources on the PR. Those blogs and Google group post explain it clear and better that I could with a simple markdown document, so I don't see a reason to put it in a separate document now. There is only left to document the |
@carocad Sorry for not being clear – the docstrings and comments are great but an overview document would be helpful too to understand how things fit together. I'm thinking of that document like an integration test versus the docstrings and comments like unit tests. An initial version could just quote, or even copy, the blog posts and discussion thread verbatim. |
some desc simplified
@carocad - I find the work done here quite useful and it is a pity this was never merged... Would you be interested in finishing this PR or would you prefer that I take it over? There are a few relatively minor changes to make... I'm not worried about the overview document unless you were interested in it. |
@sbauer322 You can take over if you so wish to. I have made quite some PR that would definitely appreciate some love ;) |
@cldwalker if you were planning on taking this over, it might be beneficial to use the Since you assigned yourself to this task, do let me know if you were going to take it on. |
@sbauer322 Good to know. I'll hold off until LightTable/LightTable#2206 is sorted out. I'm also happy to review if you want to take this on |
Closing as #93 has been opened with some additional changes. |
Hey guys,
while researching a bit about watches, I found out a lot about the way LT and especially the Clojure plugins evaluates and watches source code. As suggesteed by @kenny-evitt I documented the related functions in hope for the future ;)
Hope it helps