Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json_difference_checker is bad function name #51

Open
Akuli opened this issue Oct 2, 2021 · 0 comments
Open

json_difference_checker is bad function name #51

Akuli opened this issue Oct 2, 2021 · 0 comments

Comments

@Akuli
Copy link
Collaborator

Akuli commented Oct 2, 2021

def json_difference_checker(

I was reading this code with Arrinao. I needed to read the whole function just to figure out what it was doing.

<Akuli> a job post is new if its url is not in old_job_urls, i.e. we have not seen that url before
<Akuli> and then it returns new job posts
<Akuli> so this part finds the job posts that you have not seen before
<Arrinao> ahh ok
<Arrinao> very cool
<Akuli> and it really should be named get_new_job_posts()
<Akuli> not json_difference_checker()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant