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

Add missing docstring to birthday server implementation #2464

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

mgeisler
Copy link
Collaborator

Without this, compilation fails. The comment is in the included Rust file — but we only include a fraction of the file to keep the example short. This makes it cumbersome to both show something that works in the slides while also making it possible for the instructor to show more complex examples.

@randomPoison, we need to make our examples simpler here: the complexity here makes it hard to modify the files and I feel it's hard to show during class. I would suggest splitting this up into a very basic example (what the birthday service was) and then add 1-2 slides with more complex samples (if necessary). Last I taught the class, I had a hard time a) making every example compile and b) finding time to cover everything.

I would err on the side of makings things simple and clear.

Without this, compilation fails. The comment *is* in the included Rust file — but we only include a fraction of the file to keep the example short. This makes it cumbersome to both show something that works in the slides while also making it possible for the instructor to show more complex examples.
@mgeisler mgeisler enabled auto-merge (squash) November 19, 2024 12:55
mgeisler added a commit that referenced this pull request Nov 19, 2024
Without this, students will see subtle differences between what is on the slides and what we have in the code (see #2464 for an example).
mgeisler added a commit that referenced this pull request Nov 19, 2024
Without this, students will see subtle differences between what is on
the slides and what we have in the code (see #2464 for an example).
@mgeisler
Copy link
Collaborator Author

mgeisler commented Dec 6, 2024

Hi @randomPoison, please take a look at this one. It was reported by an internal student and I would like to see it fixed.

@randomPoison
Copy link
Collaborator

Ah sorry, I saw this PR but spaced on responding to it. I agree that simpler examples would be better. I can address that when I have time to go back over the Android code and make sure everything compiles and works as part of AOSP (though I unfortunately have not had much time for that). For now this looks like a good change 👍

@mgeisler mgeisler merged commit 5d6e26a into main Dec 6, 2024
37 checks passed
@mgeisler mgeisler deleted the mgeisler-patch-2 branch December 6, 2024 20:10
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

Successfully merging this pull request may close these issues.

2 participants