Skip to content

Sophia / Solar System#52

Open
SoCodeDo wants to merge 3 commits intoAda-C14:masterfrom
SoCodeDo:master
Open

Sophia / Solar System#52
SoCodeDo wants to merge 3 commits intoAda-C14:masterfrom
SoCodeDo:master

Conversation

@SoCodeDo
Copy link

Assignment Submission: Solar System

Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.

Reflection

Question Answer
When does the initialize method run? What does it do? initialize method helps us create instance variables
Why do you imagine we made our instance variables readable but not writable? because we dont want the information to be changed
How would your program be different if each planet was stored as a Hash instead of an instance of a class? we would be accessing the information through the hash instead of a class
How would your program be different if your SolarSystem class used a Hash instead of an Array to store the list of planets? ###
There is a software design principle called the SRP. The Single Responsibility Principle (SRP) says that each class should be responsible for exactly one thing. Do your classes follow SRP? What responsibilities do they have? ##
How did you organize your require statements? Which files needed requires, and which did not? What is the pattern? ##

@SoCodeDo
Copy link
Author

Stopping for timeboxing reasons. I will come back to finish and resubmit.

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.

1 participant