I occasionally have questions such as 'Should I use A or B approach for this specific task?' For example:
- Buffered or unbuffered IO for a configuration file
- Storyboard or XIB (or neither) for a simple MacOS app
open(full_path)
oropenat(dirfd, relative_path)
orcd(dirpath)
andopen(relative_name)
Or questions that ask 'Which approach is the most efficient?' followed by a description of a specific requirements, merit function, and the task at hand.
I am aware I could just try both approaches, but both might appear to work equally well or I want to ensure I am not missing any nuanced issues with either way.
Would such questions be on-topic for Stack Overflow as long as I phrase the question objectively and not subjectively? Or should I refrain from asking these questions or ask them somewhere else?