Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+19 votes

Now that most people are probably familiar with an array of design patterns, which design patterns do you see yourself implementing into your own code

asked in CSC305 Fall 2023 by (1 point)

7 Answers

+8 votes

I have used the iterator pattern in most of the instances where I am to change something with map. It just works better. I should have perhaps used command pattern and probably the strategy pattern when creating the cards. It would have made alot of the functonality much better. I can also see how people could use a decorator pattern for cards decorations for favourite cards, might be a good idea too!

answered by (1 point)
+7 votes

More often are strategy, observer and iterator patterns.

answered by (1 point)
+7 votes

Strategy for the filters and text search.

answered by (1 point)
+7 votes

I am planning to incorporate iterator in lesson class/course class.

answered by (1 point)
+7 votes

I think Strategy and Observer.

answered by (1 point)
+7 votes

Most likely the iterator pattern!

answered by (1 point)
0 votes

strategy and iterator patterns

answered by (1 point)
...