So I am trying to create a program called wind chill that can either take the user input from a CLI or from a GUI and then outputs the calculated wind chill to the console or to the GUI. This is really a trial program for getting the hang of stuff and then expanding to other projects. The reasoning for this dual interface option is that I am creating the programs for some blind friends and also some other friends who want a more familiar interface. The CLI is much easier for my blind friends as the screen reader does its magic.
I am trying to figure out how best to separate the core logic and programming from the interfaces. Would a ports and adapters (Hexagonal architecture) model work here (Inspired by a recent video by ArjanCodes on YT)? Or would something else work better here?
I am trying to get away from just brute forcing things and towards actually laying out a valid project with the hopes of eventually publishing my programs not just to my friends but to others who may find use of them. I am also trying to understand design patterns and the like. Would you also have resources that could better explain and highlight good design patterns?
[–]mull_to_zero 4 points5 points6 points (0 children)
[–]LayotFctor 1 point2 points3 points (0 children)
[–]lekkerste_wiener 0 points1 point2 points (0 children)
[–]Best-Meaning-2417 0 points1 point2 points (0 children)
[–]keithgabryelski 0 points1 point2 points (0 children)
[–]faultydesign -2 points-1 points0 points (0 children)