presumption's blog

By presumption, history, 20 months ago, In English

Here are few questions that I had about maintaining a code/snippet library:

  • How do you usually test your code for the library? Any submission link for standard data structures or algorithms?
  • What are some things to keep in mind while writing a code/snippet library? (Suggestion about documentation, unit tests, etc)
  • Can you share your library and what you like or not-like about your library? How would you like to improve it?
  • What are some well-written libraries that someone can use as Black Box?
  • How do people using vim maintain their snippets? (Specifically neovim with lua)

Can someone share the library used by jiangly?

  • Vote: I like it
  • +6
  • Vote: I do not like it

»
20 months ago, # |
  Vote: I like it +19 Vote: I do not like it

This is a great place to test your algorithms: https://judge.yosupo.jp/.

For Neovim I used LuaSnips in the past, but now I have a custom solution using Telescope. This plugin has something similar implemented: https://github.com/LeoRiether/wasp.nvim.