- Books, Literature, and Writing
Numbers, Strings, Booleans
Ruby programming, information (data) can come in three different types of things,
one, two, true, ( " I'm learning Ruby!!!"),
analyze, manipulate, confusing,
never use ( ' or " ) with Booleans or ruby will think your talking about a string, (word or phrase)
instead of a value that can bee true, or false, it's also important to remember about capitalizing,
set variable to value =
my_num = 33, analyzing...
math... 6 arithmetic operators
Multiplication ( * )
Division ( / )
Exponential ( ** )
Modulo ( % )
puts & print,
puts " hello world, I love new York"
print "hey fuck you"... off, ass, my laughing,
methods, skills, everything is an object interpreter, program code console, think,
" I love programming Ruby you little gem, it sends a new end to my thread."
# ==> 72, 9 blinks,
puts "racecar" .reverse.upcase.downcase, the same... sheesh...
Next: Writing good code -> What a beast,
with ease, single line comments-
# I'm a full line comment
"west".length # I'm a comment too! written east,
for ('4') multi-line comments,
I'm a comment!
I don't need any # symbols.
local variables, counter masterful_methods, symbols, $, CaPiTaL LeTTers, @ fear, diseased,
My_name = "goego"
My_age = 33
healthy = true
-sum equal to, 13 + 379
-product equal to, 923 * 15
-quotient equal to 13209 / 17
sum = 13 + 379
product = 923*15
quotient = 13209 / 17
777 - pleased,
Comments??? Well then, follow this link _ STING _ to bee on the very brink of learning code, ...FOR FREE!!!