-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as a newbie I'd like to learn from the tutorial how to make the debug output from Pony code #210
Comments
Thanks for starting this discussion @vak. I'm dubious that this is "tutorial" material. Standard library packages should have their own documentation. We can raise the issue how "standard library discovery" might be suboptimal. However, filling the tutorial with standard library discovery material isn't a good idea in my mind. We need more "how to debug pony programs" material but I'm not at all sure that is tutorial material. For me, the tutorial should be the basics of how Pony works. There can be other materials beyond the tutorial to address other issues. For example, we have Pony Patterns for cookbook type solutions. Having more information on the website on how to debug is something I plan on. I'm interested in hearing from other Pony committers how they see the tutorial. When we had previously discussed I believe everyone was more or less in line with the above, but it would be good to revisit. |
I can see both sides of the argument, and I'd be happy with either solution. If we put the mention of the |
Sean, I see your point re "tutorial != std lib doc" and do like this. OTOH, tutorial is the first source of Pony-knowledge today and i was as a newbie in a very simple situation like:
perhaps, this workflow of really simple questions could be optimized. |
I feel like that is pointing towards a good FAQ to act as an overall guide. Something along the lines of: Where do I go to learn about "common thing folks are always asking about". Which is my mind is a good use of a FAQ. |
One day Pony FAQ will be served by the stackoverflow (whether they like this or not), but before this some hand-made FAQ is rather needed. Anyway for developer it is very important that a question is quickly answered and it doesn't much matter if it is googling or CTRL-F |
At this point, the tutorial has a chapter on PonyTest. I think that that's something people would use after having already used debug output, implying that it should be in the tutorial (or that the PonyTest chapter shouldn't be). |
I think (Note that debug is already mentioned in the FAQ to show |
I think that |
Permission to do a larger reformat of the content on appendices->compiler-args to promote the "most useful" options into subsections on the page? Otherwise I think adding use of Basically: Useful optionsThe most useful options are
|
see issue #216 as it is related. |
@rhagenson reformat away! |
@SeanTAllen Got it. |
Oh goodness, I never did the reformatting on this! Well only a year and a pandemic later for me to realize, eh? I will get that handled in the next few days and if not then Sync will be a moment of shame for me. 😅 |
As title says.
A simple example on how to configure and use the "debug" package is very welcome in tutorial
The text was updated successfully, but these errors were encountered: