python-discord / meta

Issue tracker for suggestions and other questions relating to our community
https://pythondiscord.com
31 stars 5 forks source link

Tag Suggestion: Explain that print and return do different things #187

Closed sid-maddy closed 1 year ago

sid-maddy commented 2 years ago

Tag Name

print-return

What kind of content should the tag include?

I've seen this short animation, usually linked in response to questions about print and return. It demonstrates, with an example function, how return causes a function to end and “return” the value to the caller, and print displays a given value to the console.

P.S. This was already suggested before in the #community-meta channel. The person proposing also mentioned that adding it to the !return tag will make the embed too long, so a new tag would be better.

sid-maddy commented 2 years ago

As discussed in the staff meeting, we'll need to either,

Either way, I'll need to understand the current implementation. I'll go through the current code when I'm free.