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

(COMPLETE) My mind still works in OOP - Questions... #8

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

BigSpaces
Copy link
Owner

Hello @BrooklinJazz

Maybe these questions can be addressed in pre-instruction time? Or maybe here... We'll see.

I think I got the logic for Timeline, but the implementation still takes me to old OOP habits. I created a counter that does not update because immutability, right? I break down the logic in a code cell down in the livebook file.

I see there was some code in the cell that looks like the solution. I imagine that Enum.chunk_every creates the possibility of implementing a similar logic that I was attempting: keep track of the date prior to the one that Enum.reduce is going through. Will study that one and get back to the exercise.

Any guidance to help me get away from OOP-thinking into Function-thinking when I am figuring out the logic?

Thank you!

@BrooklinJazz
Copy link

I believe we spoke about this during Pre-Instruction time. Do you still have any questions?

@BigSpaces
Copy link
Owner Author

BigSpaces commented Oct 7, 2022 via email

@BigSpaces BigSpaces changed the title My mind still works in OOP - Questions... (COMPLETE) My mind still works in OOP - Questions... Oct 7, 2022
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.

3 participants