4 ms·
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
by dvt 3y ago
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 https://imgur.com/a/KFJ9DrB
- WarOnPrivacy 3y agoThis 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.
- Vecr 3y agoThat's a boilerplate disclaimer. There's nothing in the image other than a screenshot of a webpage showing only text.
- Hikikomori 3y agoWhile search results have degraded OP certainly picked a bad example.
- newaccount74 3y agoThe 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:". Edit: I tried sending the query "How to Iterate Through a Dictionary in Python" to ChatGPT, and it immediately shows relevant code samples that exactly answer the question, without pages of pointless filler: https://imgur.com/a/CenZFl0 https://imgur.com/a/CenZFl0 There's no arguing that the ChatGPT answer is a million times better.
- theSuda 3y agoYep 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.