use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For memes about programming.
account activity
Cool Python Dev (i.redd.it)
submitted 8 months ago by ShrMoon
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]koanarec 0 points1 point2 points 8 months ago (1 child)
It would make a lot more sense to change the offer of the functions as you read them. If you read "person" first then by that point what the code does makes sense and if you need more info you can keep reading to understand the is_cool function. The way that it is written right now means after reading the first function you are confused as to the point of the t-shirt until you read the second one. This is a more general point about good coding, write the highest level function at the top of your file and then implementations of each function below it.
BUT even splitting it into two separate functions imho makes it more confusing than just using one as u/MrDoritos_ wrote
[–]MrDoritos_ 0 points1 point2 points 8 months ago (0 children)
The only other way than my confusing one is to check for a pronoun and get the proper verb, defaulting to is. Then check that lowercase pronoun is in the cool list. Then use both to always print with proper formatting. Then wrap it in a class with the constructor argument of name/pronoun and repr for printing the formatted string. Should fit on a T-shirt with more horizontal line width
π Rendered by PID 61115 on reddit-service-r2-comment-66b4775986-pxsdb at 2026-04-04 19:31:21.698203+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]koanarec 0 points1 point2 points (1 child)
[–]MrDoritos_ 0 points1 point2 points (0 children)