I attempted to create a sort-of file generator which spits out hardcoded messages to a file with slight alterations to some of the strings based on user input. Since I'm utilizaing polymorphism, I have multiple files and interfaces.
I'm finding myself passing a file parameters more times than one and is starting to rethink the way I've structured my program. Which brings me to ask, is there a huge performance impact from passing a file as a parameter to multiple methods?
Thanks.