swapnanildutta / student-database Goto Github PK
View Code? Open in Web Editor NEWThis is the project I made during my 10th standard examination (ICSE) in Java.
License: MIT License
This is the project I made during my 10th standard examination (ICSE) in Java.
License: MIT License
I think for better abstraction of the program, you should split some Students variables into new classes like Records for example.
And make use of creational pattern designs that lets you be clear on how you would create your objects and later on their usage.
Factory Method is a creational design pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
https://refactoring.guru/design-patterns/factory-method
In this suggestion, I added some additional classes to explain a little better my suggestion. The great property that the factory method has is that makes the code easier to refactor or support.
Thanks for paying attention. Keep up the great work!
Hello, nice to meet you.
I am doing a task regarding the use of design patterns and I stumble upon your project. While I was analyzing it I could notice that you were performing several iterations with the use of a for loop and although within the implementation that you are giving it is correct, I think that to suggest that if you use the Iterator design pattern it does not represent any harm, since, you can in the same way, go through the collection but do not expose the representations of the objects(list, stack, tree, etc.).The good thing about using this design is that more collections can be added as the system grows and it will not suffer any damage!
Next I attach a UML diagram with a design that follows this pattern.
I hope this suggestion is taken positively and if it is found to be wrong in any way I apologize in advance, as I am just gaining knowledge about design patterns and their structure.
I hope you have a great day. Thank you
Observer is a behavioral design pattern that lets you define a subscription mechanism to notify multiple objects about any events that happen to the object they’re observing.
https://refactoring.guru/design-patterns/observer
I noticed that in your program you delete or change the state of an object, so this may come in handy for your repository
Thanks for paying attention.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.