## Hello World <h1>https://pixabay.com/static/uploads/photo/2016/05/02/01/32/barbie-1366378_960_720.jpg</h1> Hello world is a small, simple program that is used to demonstrate the syntax of a programming language. ## Ruby <br /> http://i.imgur.com/VG0sp1O.png If you read my <a href="https://steemit.com/tag/@superfreek/how-to-become-a-self-taught-programmer">last post</a>, I recommended ruby. That will be the programming language we'll be using to write our simple program. You can download ruby here for any platform: https://www.ruby-lang.org/en/downloads/ <br /> ## The Program http://i.imgur.com/7aAhti4.jpg Here is the entire “Hello World” program written in ruby: ``` puts “Hello World” ``` If you saved that snippet as `hello_world.rb` (a ruby file), and ran it in your terminal(or command prompt on windows), it would look like this: ``` ruby hello_world.rb Hello World ``` the first line in the above snippet is running the program `hello_world.rb`, and the second line is the output from the program, in this case, it is printing `Hello World`. <br /> ## Demo http://i.imgur.com/pyVURiU.png I made a gif showing me writing this program from the start, I’m using vim as the text editor to write the ruby file, save it, then run it with the same commands I used above: http://i.imgur.com/TyK7CSV.gif <br /> That’s it! First Program Written. We're all programmers now. <br /> ## A bit about me I've been learning about programming for at least a decade, and I probably won't stop. You can check out my intro post and some of the projects I've worked on: https://steemit.com/introduceyourself/@superfreek/a-developer-introduction-post And my last post "How to become a self-taught programmer": https://steemit.com/tag/@superfreek/how-to-become-a-self-taught-programmer
author | superfreek |
---|---|
permlink | learning-to-write-a-simple-program-hello-world |
category | introduceyourself |
json_metadata | {"tags":["programming","introduceyourself","steemit","life","money"],"image":["https://pixabay.com/static/uploads/photo/2016/05/02/01/32/barbie-1366378_960_720.jpg","http://i.imgur.com/VG0sp1O.png","http://i.imgur.com/7aAhti4.jpg","http://i.imgur.com/pyVURiU.png"],"links":["https://steemit.com/tag/@superfreek/how-to-become-a-self-taught-programmer","https://www.ruby-lang.org/en/downloads/","https://steemit.com/introduceyourself/@superfreek/a-developer-introduction-post"]} |
created | 2016-08-23 05:08:48 |
last_update | 2016-08-23 05:22:18 |
depth | 0 |
children | 6 |
last_payout | 2016-09-23 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.499 HBD |
curator_payout_value | 0.079 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,791 |
author_reputation | 624,465,111,399 |
root_title | "How to write a simple program: "Hello World"" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 946,270 |
net_rshares | 893,953,438,227 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
blakemiles84 | 0 | 374,983,484,169 | 100% | ||
ropes | 0 | 307,628,539 | 100% | ||
kimziv | 0 | 65,559,364,449 | 34% | ||
superfreek | 0 | 2,406,588,834 | 100% | ||
blocktalk | 0 | 83,191,042,619 | 100% | ||
endgame | 0 | 355,555,744 | 100% | ||
steemit-life | 0 | 2,979,632,378 | 100% | ||
igster | 0 | 22,915,723,675 | 100% | ||
sisterholics | 0 | 4,732,686,170 | 27% | ||
laonie | 0 | 179,665,478,953 | 16% | ||
myfirst | 0 | 6,332,874,666 | 24% | ||
somebody | 0 | 81,351,469,346 | 35% | ||
darknet | 0 | 747,572,374 | 100% | ||
flysaga | 0 | 3,810,035,032 | 39% | ||
minnowsunited | 0 | 359,279,167 | 100% | ||
midnightoil | 0 | 10,677,526,373 | 37% | ||
lizzie | 0 | 117,780,589 | 100% | ||
shanejonas | 0 | 50,637,904 | 100% | ||
veerprit | 0 | 7,405,163,399 | 100% | ||
xiaohui | 0 | 10,865,777,829 | 17% | ||
makaveli | 0 | 54,584,628 | 100% | ||
xiaokongcom | 0 | 1,011,495,824 | 30% | ||
cryptos | 0 | 13,976,779,581 | 100% | ||
xianjun | 0 | 1,575,760,941 | 34% | ||
microluck | 0 | 169,989,440 | 36% | ||
craigwilliamz | 0 | 4,741,437,830 | 100% | ||
gearshiftrwife | 0 | 54,323,662 | 100% | ||
kommienezuspadt | 0 | 13,440,047,281 | 100% | ||
edniredo | 0 | 59,810,841 | 100% | ||
landalar | 0 | 53,905,990 | 100% |
Welcome to Steemit! If you would like to see statistics of any post on Steemit, you can use Steemd.com. I have made a bookmark for your convenience in accessing Steemd. https://steemit.com/steemd/@craigwilliamz/steemd-statistics-bookmark-for-easy-access-to-steemd
author | craigwilliamz |
---|---|
permlink | re-learning-to-write-a-simple-program-hello-world-20160823t051420 |
category | introduceyourself |
json_metadata | "" |
created | 2016-08-23 05:14:21 |
last_update | 2016-08-23 05:14:21 |
depth | 1 |
children | 0 |
last_payout | 2016-09-23 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 263 |
author_reputation | 171,004,441,932 |
root_title | "How to write a simple program: "Hello World"" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 946,310 |
net_rshares | 0 |
What was the best part of your weekend?
author | jarvis |
---|---|
permlink | re-learning-to-write-a-simple-program-hello-world-20160823t051346 |
category | introduceyourself |
json_metadata | "{"replyto": "@superfreek/learning-to-write-a-simple-program-hello-world"}" |
created | 2016-08-23 05:13:45 |
last_update | 2016-08-23 05:13:45 |
depth | 1 |
children | 0 |
last_payout | 2016-09-23 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 40 |
author_reputation | -788,377,956,676 |
root_title | "How to write a simple program: "Hello World"" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 946,305 |
net_rshares | 0 |
Wow! Amazing post! I look forward to reading more.
author | lizzie |
---|---|
permlink | re-superfreek-learning-to-write-a-simple-program-hello-world-20160823t054101550z |
category | introduceyourself |
json_metadata | {"tags":["introduceyourself"]} |
created | 2016-08-23 05:41:03 |
last_update | 2016-08-23 05:41:03 |
depth | 1 |
children | 1 |
last_payout | 2016-09-23 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 50 |
author_reputation | 125,578,657,155 |
root_title | "How to write a simple program: "Hello World"" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 946,495 |
net_rshares | 0 |
rofl
author | veerprit |
---|---|
permlink | re-lizzie-re-superfreek-learning-to-write-a-simple-program-hello-world-20160823t074818107z |
category | introduceyourself |
json_metadata | {"tags":["introduceyourself"]} |
created | 2016-08-23 07:48:18 |
last_update | 2016-08-23 07:48:18 |
depth | 2 |
children | 0 |
last_payout | 2016-09-23 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4 |
author_reputation | 2,373,190,796,507 |
root_title | "How to write a simple program: "Hello World"" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 947,350 |
net_rshares | 0 |
*Boldness, without the rules of propriety, becomes insubordination.*
author | me-confucius |
---|---|
permlink | re-learning-to-write-a-simple-program-hello-world-20160823t051457 |
category | introduceyourself |
json_metadata | "{"replyto": "@superfreek/learning-to-write-a-simple-program-hello-world"}" |
created | 2016-08-23 05:14:57 |
last_update | 2016-08-23 05:14:57 |
depth | 1 |
children | 0 |
last_payout | 2016-09-23 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 69 |
author_reputation | -1,109,228,844,392 |
root_title | "How to write a simple program: "Hello World"" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 946,317 |
net_rshares | 0 |
Spacemacs better than vim. Everyone knows this. Nice post though
author | veerprit |
---|---|
permlink | re-superfreek-learning-to-write-a-simple-program-hello-world-20160823t051400595z |
category | introduceyourself |
json_metadata | {"tags":["introduceyourself"]} |
created | 2016-08-23 05:13:45 |
last_update | 2016-08-23 05:13:45 |
depth | 1 |
children | 0 |
last_payout | 2016-09-23 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 65 |
author_reputation | 2,373,190,796,507 |
root_title | "How to write a simple program: "Hello World"" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 946,306 |
net_rshares | 115,471,166 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
lizzie | 0 | 115,471,166 | 100% |