MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/qv4wj6/me_trying_to_be_productive_while_learning_to/
r/badcode • u/buzZ-exe • Nov 16 '21
6 comments sorted by
10
What is so bad about this exactly? I’m not familiar with beautiful soup
7 u/tobi8380 Nov 16 '21 The input is a username, and the output is that same username, but scraped from a website. 1 u/buzZ-exe Nov 17 '21 Yup. You're right.
7
The input is a username, and the output is that same username, but scraped from a website.
1 u/buzZ-exe Nov 17 '21 Yup. You're right.
1
Yup. You're right.
This isn't really bad code. The line print("The name of the user...") outputs the div from the website with the class "Information".
Even if that is just the name, the code still is not bad. Just pointless. But how are we going to know from just the code?
This doesn't belong here.
1 u/buzZ-exe Dec 01 '21 Oh ok. But by any chance do you know any place where I can find more pointless/dumb code like this because I was laughing a lot looking back at this.
Oh ok. But by any chance do you know any place where I can find more pointless/dumb code like this because I was laughing a lot looking back at this.
This would check if the user exists, so, what's wrong anyways?
10
u/Verbose_Code Nov 16 '21
What is so bad about this exactly? I’m not familiar with beautiful soup
1
u/PLS-PM-ME-DOG-PICS Nov 30 '21
This isn't really bad code. The line print("The name of the user...") outputs the div from the website with the class "Information".
Even if that is just the name, the code still is not bad. Just pointless. But how are we going to know from just the code?
This doesn't belong here.
1
u/horny_pasta Nov 17 '21
This would check if the user exists, so, what's wrong anyways?