We love hearing from our users. Tell us what you want to see next and upvote ideas from the community. * Bugs and troubleshooting should as usual go through InterSystems support.
It would be useful to have a place to share/request sample code, a place to review or recommend code improvements, especially when someone is new to some specific InterSystems product feature and not part of big team with similar skill sets.
ADMIN RESPONSE
Feb 22, 2023
Thank you for submitting the idea. Based on information from our experts the status of your idea was changed to "Will not implement". Please look for details in the comments on the idea. Good luck!
Is there anything specific, outside of the InterSystems world you can offer?
GitHub is a place for many open-source projects, where you can search for code examples. And it supports ObjectScript classes. So, you are able to search over ObjectScript code over many open-source projects
Open exchange is a good option but the problem is you get what is there and is focused on a specific solution/application design.
InterSystems documentation is a very good place to start with but its some small custom bit of functionality/ implementation where people get stuck. It would be useful to find a a place where someone else can have a look at the code and recommend something or look for similar code.
Code snippet sounds useful but my only question is if it is going to be a locked down version of useful/most common set of codes it become like the open exchange i.e you get what is there, right? Flexibility to discuss, share and request would be ideal I think.
Now, snippets of code and example code are scattered around DC and documentation. So bringing them to one place is already the first task, having a good way of searching is key (e.g. when you want to have some examples on handling streams, typing streams should bring up all code examples about streams. Searching for the good example code in documentation gives too much other results). Being able to discuss and adjust/correct the example leads to the ideal best practice example (e.g. Try .. Catch : include how to throw errors) And having all that at hand when you are coding in Studio or VSCode is better than having to dig deep in memory or already written code. How many times i said : ik know i have done this before, but where can i copy-paste it from ?
Is there anything specific, outside of the InterSystems world you can offer?
GitHub is a place for many open-source projects, where you can search for code examples. And it supports ObjectScript classes. So, you are able to search over ObjectScript code over many open-source projects
https://github.com/search?q=httprequest+language%3AObjectScript&type=code
GitHub Gist, also supports ObjectScript classes
Open exchange is a good option but the problem is you get what is there and is focused on a specific solution/application design.
InterSystems documentation is a very good place to start with but its some small custom bit of functionality/ implementation where people get stuck. It would be useful to find a a place where someone else can have a look at the code and recommend something or look for similar code.
Code snippet sounds useful but my only question is if it is going to be a locked down version of useful/most common set of codes it become like the open exchange i.e you get what is there, right? Flexibility to discuss, share and request would be ideal I think.
Now, snippets of code and example code are scattered around DC and documentation.
So bringing them to one place is already the first task, having a good way of searching is key (e.g. when you want to have some examples on handling streams, typing streams should bring up all code examples about streams. Searching for the good example code in documentation gives too much other results).
Being able to discuss and adjust/correct the example leads to the ideal best practice example (e.g. Try .. Catch : include how to throw errors)
And having all that at hand when you are coding in Studio or VSCode is better than having to dig deep in memory or already written code. How many times i said : ik know i have done this before, but where can i copy-paste it from ?
Do you guys have any thoughts on how what the snippet library could look like?
Is https://openexchange.intersystems.com/ too heavyweight for this?
We could combine it with the code snippets library : https://ideas.intersystems.com/ideas/DPI-I-211