3 ms·
I agree with most of the article, except the yes/no part. In fact I think it's better to do : "Do you want to do this (Y/n)?" Where the most common option is
by alexis-d 15y ago
I agree with most of the article, except the yes/no part. In fact I think it's better to do :
"Do you want to do this (Y/n)?"
Where the most common option is uppercase so I can just hit enter.
- dmpatierno 15y agoThe important point here is to at least require that <Enter> key, rather than just using getchar() or whatever else and continuing on unexpectedly.