Agent-Banks / assignments

Assignments for Suncoast Developers Guild
0 stars 0 forks source link

03-03 - Rhythm's gonna get you #11

Closed Agent-Banks closed 4 years ago

Agent-Banks commented 4 years ago

Rhythm's gonna get you

For this project, we will model and create a database. We are starting a record label company, and we a place to store our bands, albums, and eventually songs. You are creating a console app that stores our information in a database.

Objectives

Setup

Create a console that allows a user to store and manage the company's bands, albums, and (eventually) songs.

Top Tips

Although in reality an album could be done by more than one band, our system will just have an album involving one band. That is, an album belongs to one band.

Explorer Mode

Adventure Mode

Epic Mode

Additional Resources

Agent-Banks commented 4 years ago

https://github.com/codyb23/SuncoastBands

Hello Gavin, I really enjoyed making this program. If we could schedule a time sometime this week where you can point me in the right direction for some code refactoring I would greatly appreciate it! I would like to try Adventure mode with a nice well-structured program. Thank you!

Agent-Banks commented 4 years ago

Your homework 03 - 03 - Rhythm's gonna get you was marked: Meets Expectations

Well done!

“Well done!”

gstark commented 4 years ago

I'm very impressed by how your code and style are developing. Keep up the effort!

These two lines should go inside your while loop so the related queries are re-run each time.

I would love to spend some time with you refactoring. My first suggestion is to see what happens if you try to make individual methods for each of your menu items. That is:

                if (option == 2)
                {
                     AddBand();
                } 

See what that style change implies for the structure of your code. See if you can get the code to that point and then let's talk about refactoring from there!

Find me in some 4-5pm lab time and we'll take some time to look at it.