Binette to Learn Programming@programming.devEnglish • 18 days agoIs it better to check if a file exists before trying to load it, or to try to load it, and catch the error and move on?message-square16fedilinkarrow-up138arrow-down10file-text
arrow-up138arrow-down1message-squareIs it better to check if a file exists before trying to load it, or to try to load it, and catch the error and move on?Binette to Learn Programming@programming.devEnglish • 18 days agomessage-square16fedilinkfile-text
minus-square@netizen@programming.devlinkfedilinkEnglish2•18 days agoFile existing and we’re able to read it are two quite different conditions
File existing and we’re able to read it are two quite different conditions