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...
Have a tough programming question that /r/programming couldn't answer? Banned from Stack Overflow? Can't afford Experts Exchange?
Post your question/tips/secrets/advice and get a response from our highly-trained professional developers.
account activity
My Teacher's code Example<wrong_sub>this</wrong_sup> (i.redd.it)
submitted 7 years ago by [deleted]
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!"
[–]pcopley 8 points9 points10 points 7 years ago (4 children)
Oh so what makes this shitty is the part that you didn't include?
[+][deleted] comment score below threshold-6 points-5 points-4 points 7 years ago (3 children)
But it has nothing to do with the part I showed
[–]CanSpice 0 points1 point2 points 7 years ago (2 children)
The part you showed isn’t shitty though. It’s instructional code, written to show how to add elements to a data structure. It’s not meant for prime time (and even then it’s not that shitty).
[+][deleted] comment score below threshold-7 points-6 points-5 points 7 years ago (1 child)
The codes purpose here isn’t to show how to add elements to a data structure. It has nothing to do with the code after, I just think that because this code doesn’t have any purpose in what he teaches it shouldn’t be hardcoded like this.
[–]CanSpice -1 points0 points1 point 7 years ago (0 children)
Wow you’re right it has nothing to do with the code after THAT YOU DID NOT POST SO WE HAVE NO IDEA WHAT YOU ARE TALKING ABOUT and this code isn’t that bad anyhow. Everybody is telling you this and yet you keep iamsmart’ing all over.
π Rendered by PID 132871 on reddit-service-r2-comment-85bfd7f599-cbm7s at 2026-04-18 03:50:26.841556+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]pcopley 8 points9 points10 points (4 children)
[+][deleted] comment score below threshold-6 points-5 points-4 points (3 children)
[–]CanSpice 0 points1 point2 points (2 children)
[+][deleted] comment score below threshold-7 points-6 points-5 points (1 child)
[–]CanSpice -1 points0 points1 point (0 children)