samedi 7 août 2021

How to properly use the main method

I always wondered, how - in real projects - the main method is being used and what the best practices are.

It somehow doesn't really feel right, to just call the methods i need one after another in the main, I feel like there has to be a better or cleaner way to do this. I mean it all is a chain of operations, so isn't there such thing as a design pattern to stick to? I use normal design patterns in my code but yeah that's not exactly what I mean. Although this is a very exceptional question but hopefully you get my point.

Thanks in Advance

Aucun commentaire:

Enregistrer un commentaire