-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The question
What .gitignore pattern would you use to ignore all .txt files in the doc folder?
is ambigous with it asking for
doc/**/*.txt
because
doc/*.txt
is the right one according to the minimum information principle. The correct question would be
What .gitignore pattern would you use to ignore all .txt files under the doc folder?
, as the in is the most fitting word to describe files only directly in the doc folder, but not any subfolders. I know this is just a slight difference and subject to personal preferences, but we should be able to declare it too ambiguous and therefore subject to result in different thoughtpaths on each revising and we know this results in poor learning efficiency.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels