News for hackers. Stuff that matters.
Re:Googling for answers costs you time by dvt on Sunday July 02, 2023 @04:38PM (#36565440)
This is literally above the fold[1]. The Python website linked is actually pretty good, what a dumb click-baity blog post. I'll probably get downvoted by the "I use ChatGPT daily and it 15x'ed my productivity" crowd, but every time I have this debate, I get zero salient examples.

[1] https://imgur.com/a/KFJ9DrB

Re:Googling for answers costs you time by WarOnPrivacy on Sunday July 02, 2023 @04:42PM (#36565488)
This post may contain erotic or adult imagery. By continuing, you acknowledge that you are 18+ years of age.

I am declining your promise of erotic imagery but thanks for thinking of me.

Re:Googling for answers costs you time by Vecr on Sunday July 02, 2023 @06:49PM (#36566613)
That's a boilerplate disclaimer. There's nothing in the image other than a screenshot of a webpage showing only text.
Re:Googling for answers costs you time by Hikikomori on Sunday July 02, 2023 @05:04PM (#36565729)
While search results have degraded OP certainly picked a bad example.
Re:Googling for answers costs you time by newaccount74 on Monday July 03, 2023 @03:17AM (#36569811)
The index was on page 2 on the authors screen, you probably have a bigger screen.

But even if you click the link in the index, then you still need to scroll down two to three pages to get to the actual answer:

    for key in a_dict:
         print(key, '->', a_dict[key])
I don't know about you, but I think that an article title "How to Iterate Through a Dictionary in Python" should maybe start with that snippet, instead of first explaining over 9 pages:

- "What dictionaries are, as well as some of their main features and implementation details"

- "How to iterate through a dictionary in Python by using the basic tools the language offers"

- "What kind of real-world tasks you can perform by iterating through a dictionary in Python"

- "How to use some more advanced techniques and strategies to iterate through a dictionary in Python"

Yes, if you spend 30 minutes reading the article, you will know how to iterate over dictionaries afterwards. But if you asked a human being, they would just say "for key in dict:".

Re:Googling for answers costs you time by theSuda on Monday July 03, 2023 @03:19AM (#36569832)
Yep bad example indeed. BTW, does imgur allow linking images directly anymore? Your link opened a page with your tiny screenshot at top and some random image for rest of the page and it was very confusing.