Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlan Stride
1,660 PointsWhy did we not format 'DONE', 'HELP' and 'SHOW' to lower case?
Just curious as to why Craig did not format these input options, just in case a user were to write it in lower case instead? In previous videos we are taught to do this and if you were to write 'done' for example, instead of 'DONE', then it will get added to the shopping list. Is there a technical reason why we did not do this for this exercise or is it just optional and insignificant?
2 Answers
Adam N
70,280 PointsLooks like they just decided against writing it like that. It doesn't seem too common to make user's write commands in all caps, tho. Just being aware that it could've been written differently is enough here
Let me know if this helps!
Alan Stride
1,660 PointsYes, thanks Adam!