Language-specific API examples #1724
trevorhardy
started this conversation in
Ideas
Replies: 1 comment
-
Discussion never caught on here so I'm going to end this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve been thinking today about how we can better advertise the Pythonic (and the other) APIs and here’s what I propose:
To the extent that we have budget, we re-implement the User Guide examples (or a subset) using the most language-specific API we have. These would still be stored in the HELICS-examples repo alongside the all other implementations. We could like to them individually from the User Guide but any inline code snippets we show would be from the Python-C interface.
Though this sounds like a lot of work, most of the examples are very similar to each other and don’t require huge amounts of rework (especially since whoever is doing this will have the working Python-C examples to work from).
As an alternative, lower effort approach, we could define a super-example that utilizes as large a feature set as possible and implement that example in each of the APIs. We could write some supporting content in the User Guide and link to those files.
As things sit right now, we have the following unique APIs to demonstrate:
Any thoughts, particularly from @phlptp and/or @kdheepak ?
Beta Was this translation helpful? Give feedback.
All reactions