<commit_before>puts "What is your first name?"
firstName = gets.chomp

puts "What is your middle name?"
middleName = gets.chomp

puts "What is your last name?"
lastName = gets.chomp

print "Hello, ", firstName, " ", middleName, " ", lastName , "!"



puts "What is your favorite number?"
favNum = gets.chomp.to_i
better = favNum + 1
print "That's nice, but ", better, " is bigger and better."<commit_msg>Add variables-methods reflection<commit_after>puts "What is your first name?"
firstName = gets.chomp

puts "What is your middle name?"
middleName = gets.chomp

puts "What is your last name?"
lastName = gets.chomp

print "Hello, ", firstName, " ", middleName, " ", lastName , "!"



puts "What is your favorite number?"
favNum = gets.chomp.to_i
better = favNum + 1
print "That's nice, but ", better, " is bigger and better."


# How do you define a local variable?
#   - You define a local variable using letters, numbers, and underscores. They must begin with a letter or underscore and cannot have spaces.
#   - There are 2 commonly used naming conventions. There is camelcase where you capitalize the first letter of a word in the name (anExampleOfCamelCase) and under_score where you seperate words with underscores (an_example_of_under_score_case).
#   - While you can give variables whatever name you want, you should try to give it a name that clearly says what it is used for. For example, you can name a variable x that is used to store a zip code. If someone else were to look at your code, they would have to look for where x is defined to see what sort of information it stores. You should name it something like zipCode instead.
# How do you define a method?
# What is the difference between a local variable and a method?
#   - Local variable: Stores a data type that can be used in only in the method or loop that it is defined.
#   - Method: Takes in argument(s). You can use the arguments to return a custom output. This is easier than creating many variables that hold similar information. For example, you can write a method for the quadratic formula instead of calculating the formula repeatedly in many different variables.
# How do you run a ruby program from the command line?
#   - Run a program: ruby NAME_OF_FILE
# How do you run an RSpec file from the command line?
#   - rspec NAME_OF_FILE
# What was confusing about this material? What made sense?
#   - The gets.chomp was a little weird at first. What it does is not obvious. I would have assumed that it is a method that retrieves some sort of information and breaks it up. I'm more used to using Python. The way to get the same result is by writing input().strip()
#   - Naming variables, using various operators, knowing the difference between floats and integers, and writing methods were all easy.











{'fraction_non_alphanumeric': 0.06330472103004292, 'fraction_numerical': 0.001072961373390558, 'mean_word_length': 3.950442477876106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6409782', 'n_tokens_mistral': 762, 'n_tokens_neox': 729, 'n_words': 427}