I tested this program on Smooth-CoffeeScriptI just wanted to have as many eyes on this as I could to learn about coffeescript;Is there anything I should do to improve it?Am I using the tools available to me adeptly? (i.e. good variable naming, layout, commenting, etc.)userQuestion   = ' what is 2 + 2 ?'correctLength = 1correctAnswer = '4'correctAnswerMsg = That's correct!closeMsg = Almost there!digitsOnlyMsg = Digits only!singleDigitMsg = Single digit!tryAgainMessage = Try again!prompt userQuestion, '', (answer) ->  # the answer can not be set as a variable here                                      # (answer) grabs the answer from the console  userEntry = answer                  # -> casts that answer down to the rest of the indent to be used plainly                                      # at least that's how I think it works :/                    show userEntry  # the user's answer always shows on the first line  if userEntry.length isnt correctLength  # .length only works when comparing the length of a string to an integer    show singleDigitMsg  userEntry = (Number) userEntry  correctAnswer = (Number) correctAnswer  # now we convert our user entry and our correct answer into integers so the math functions work  if userEntry is correctAnswer    show correctAnswerMsg    exit program  else if userEntry is correctAnswer - 1 or userEntry is correctAnswer + 1    show closeMsg  else if isNaN(userEntry)    show digitsOnlyMsg  else  # this only shows when the user types in 1, 2, or 6-9. Or multiple characters with a digit, like '-4'     show tryAgainMessage
CoffeeScript 2 + 2 program
beginner;functional programming;coffeescript