<commit_before>//: Basic about Swift
// Swift is the new programming language for iOS, OS X and watchOS

/**
 * Swift provides all fundamental C and Objective-C types like Int for Integers,
 * Double and Float for floating-point values, Bool for Boolean values, and
 * String for textual data.
 **/
var myInt: Int = 3
var myDouble: Double = 2.12
var myFloat: Float = 2.0
var myBool: Bool = true
var myString: String = "My string"

<commit_msg>Describing variables and constants in Swift<commit_after>//: Basic about Swift
// Swift is the new programming language for iOS, OS X and watchOS

/**
 * Swift provides all fundamental C and Objective-C types like Int for Integers,
 * Double and Float for floating-point values, Bool for Boolean values, and
 * String for textual data.
 **/
var myInt: Int = 3
var myDouble: Double = 2.12
var myFloat: Float = 2.0
var myBool: Bool = true
var myString: String = "My string"

/**
 * Swift use variables and constants for storing value and referring to them by name
 * It uses the 'var' keyword followed from a name to define a variable.
 * It uses the 'let' keyword followed from a name to define a constant.
 * A constant value cannot be changed after it has been defined.
**/
var myVariable = "This is a variable containing a String"
myVariable = "Changing this variable"

let myConstant = "This is a constant and you cannot change this value"
// myConstant = "error" <= It would give an error
{'fraction_non_alphanumeric': 0.07595818815331011, 'fraction_numerical': 0.008362369337979094, 'mean_word_length': 3.8513513513513513, 'pattern_counts': {'":': 0, '<': 4, '<?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': '359366', 'n_tokens_mistral': 412, 'n_tokens_neox': 384, 'n_words': 218}