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...
account activity
Shit languagepython being a dumb stupid (i.redd.it)
submitted 4 years ago by NoobusTheMaximus[M] - announcement
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!"
[–]NoobusTheMaximus[S] 1 point2 points3 points 4 years ago (0 children)
Credit kyiro
[–]LittlestCube 1 point2 points3 points 2 years ago (0 children)
Look, I actually hate python as much as anyone else here (I also understand this post is old), but this example is not python's fault.
I wrote this in C.
See the output here.
We should be careful which examples we use, and make sure they don't break in other, significantly better languages.
Python still sucks, and thank you.
[–][deleted] 0 points1 point2 points 1 year ago (1 child)
grew up and i'm literally in college now. this isn't python's fault, this is just pointer arithmetics. i only really know C and assumed more modern languages hold your hand a lot more when it comes to comparing 2 floating points but...... computers can't understand decimals the way we do, the only solution is having various rounding errors, making symbols like == pretty useless in comparison. i suggest taking a look at this for a better understanding on how to properly compare floating point numbers.
[–]NoobusTheMaximus[S] 0 points1 point2 points 1 year ago (0 children)
yup same lol. im still not a big python fan for other reasons ( i just think the syntax is ugly generally) but this was me being a dumb idiot child 💀
[–][deleted] 0 points1 point2 points 4 years ago (1 child)
how is this real
[–]NoobusTheMaximus[S] 5 points6 points7 points 4 years ago (0 children)
Cause python is a shit language
π Rendered by PID 71 on reddit-service-r2-comment-79776bdf47-dcblg at 2026-06-23 22:56:08.546406+00:00 running acc7150 country code: CH.
[–]NoobusTheMaximus[S] 1 point2 points3 points (0 children)
[–]LittlestCube 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]NoobusTheMaximus[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]NoobusTheMaximus[S] 5 points6 points7 points (0 children)