Skip to content

Conversation

@despadam
Copy link
Contributor

@despadam despadam commented Nov 7, 2025

This PR does not make changes in the exercises, only makes some parts of the text clearer.

@edoardob90 edoardob90 added this to the Intro Tutorial 2025 milestone Nov 10, 2025
@edoardob90 edoardob90 added the bug label Nov 10, 2025
@despadam despadam removed the bug label Nov 10, 2025
@despadam despadam marked this pull request as ready for review November 10, 2025 13:48
@despadam despadam self-assigned this Nov 10, 2025
Copy link
Member

@edoardob90 edoardob90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only comment is on a type hint 😉

despadam and others added 2 commits November 10, 2025 16:29
Co-authored-by: Edoardo Baldi <edoardo.baldi@empa.ch>
@edoardob90 edoardob90 self-requested a review November 10, 2025 17:37
edoardob90
edoardob90 previously approved these changes Nov 10, 2025
Copy link
Member

@edoardob90 edoardob90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Collaborator

@Snowwpanda Snowwpanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @despadam.
I dont have much to say also since the PR was mostly text editing and formulation.
I found a mistake in the validation of the exercise oop_compare_persons. It might be a bit short notice to fix though. Let me know if you want input from me.

" # Write your solution here\n",
" return"
]
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know no changes were made to the exercises, but i had a look at compare_persons, this exercise test doesn't actually work. because you create the class Person multiple times it is actually overwritten in the same context. The comparison always returns false because "isinstance(..)" is false
image
i think a fix might be a bit more complicated...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is related to #114

Snowwpanda
Snowwpanda previously approved these changes Nov 11, 2025
Copy link
Collaborator

@Snowwpanda Snowwpanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the fix!

despadam and others added 2 commits November 11, 2025 14:22
Co-authored-by: Pascal Su <pascal.su@empa.ch>
@edoardob90 edoardob90 self-requested a review November 11, 2025 15:07
Copy link
Member

@edoardob90 edoardob90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it! 🚀

@despadam despadam merged commit a77979c into main Nov 11, 2025
1 check passed
@despadam despadam deleted the fix/object-oriented-programming branch November 11, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants