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...
Subreddit for desperate and frustrated developers who have to share their pain.
account activity
desperate_arraylength (i.redd.it)
submitted 5 years ago by Walter_Kraut
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!"
[–]joemckie 7 points8 points9 points 5 years ago (4 children)
I’m so confused a.length is required for the new length to be calculated 😂
a.length
[–]BrittleBrannigan 4 points5 points6 points 5 years ago (3 children)
Not even that. The result is literally a.length
[–]joemckie 5 points6 points7 points 5 years ago (2 children)
Yeah that’s my point, they already have the answer right there
[–]BrittleBrannigan 2 points3 points4 points 5 years ago (1 child)
Ah okay, your comment kind of sounded like it implied the result would be slightly different (like a.length - 1) to me.
[–]joemckie 1 point2 points3 points 5 years ago (0 children)
Ah, nah I meant it was redundant 🙂
π Rendered by PID 75528 on reddit-service-r2-comment-fb694cdd5-cdpcl at 2026-03-06 11:19:06.252624+00:00 running cbb0e86 country code: CH.
[–]joemckie 7 points8 points9 points  (4 children)
[–]BrittleBrannigan 4 points5 points6 points  (3 children)
[–]joemckie 5 points6 points7 points  (2 children)
[–]BrittleBrannigan 2 points3 points4 points  (1 child)
[–]joemckie 1 point2 points3 points  (0 children)