The beauty of Mac is that you can uninstall the significant portions of a program by trashing the application itself.
All programs would have a preferences file located in /Users/yourusername/Library/Preferences/, and some other bits in /Users/yourusername/Library/Application Support/
Some programs might have other components and are a bit harder to rid yourself of. Generally, they have an uninstaller that comes with the program.
AppZapper is the guaranteed way to rid yourself of all traces.