Bitcoin Forum
November 19, 2024, 05:13:19 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Learning something new!  (Read 967 times)
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
May 30, 2014, 05:18:51 AM
 #1

Off hand I'm not sure if this is where this belongs.

So, it's a week before I start back to school and I was thinking to myself, why not learn a simple thing in a programming a language each day? So this week it will be learning how to do a simple while/for loop.

This many not seem real interesting to some people, but I'm thirsty for knowledge and I think it will be great for practice.

Perhaps I'll post what I've learned so far, the hardest ones that I've seen are ones for C++ and C# because of the <iterator> method.

What else could I say?
MisterDD
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 30, 2014, 10:56:14 AM
 #2

Off hand I'm not sure if this is where this belongs.

So, it's a week before I start back to school and I was thinking to myself, why not learn a simple thing in a programming a language each day? So this week it will be learning how to do a simple while/for loop.

This many not seem real interesting to some people, but I'm thirsty for knowledge and I think it will be great for practice.

Perhaps I'll post what I've learned so far, the hardest ones that I've seen are ones for C++ and C# because of the <iterator> method.

Cool.
If you love programming please learn a lot.
On internet and in reality people search a lot of great programmers which receive later very good salary.
I am sure that some day you will have advantage and benefits because of programming.
Holdaaja
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
May 30, 2014, 01:27:48 PM
 #3

I would like to learn programming too.
I'm not sure where I should start.

      ▄▄████████▄▄
   ▄████████████████▄
 ▄█████▀▀       ▀▀████                              
▄████▀            ████      ████                  ████
█████           ▄████▀     ████▌                 ▐████
█████           ▀▀▀▀      ▐████                  ████▌    ▄▄
 █████▄                  ▄█████████▀            ▐████   ▄███▀
   ▀█████▄▄        ▄▄███████████▀▀   ▄▄▄▄       ████  ▄███▀     ▄▄▄▄
      ▀███████▄    ▀████▀████▀     ▄████▀███   ▐███████▀▀    ▄███▀ ██▌
         ▀▀██████▄▄     ▐████    ▄████  ▐██▌   ███████     ▄███▀  ▄██▌
    ▄▄▄▄     ▀▀█████    ████    ▄███▀   ███   ▐███▌███    ▐████▄▄███▀
  █████▀▀      ▀████▌  ▐████    ████   ▄███   ████ ▐███   ████
 ████▀          ████▌  ▐████▄▄██████▄▄█████▄▄█████  ▀███  ▀████▄▄▄▄██           ▄████▄  ▄████▄  ██▄██▄██▄
████▌          █████    ▀████▀▀  ▀████▀  ▀██▀ ███▀   ▀███   ▀▀████▀▀           ██▀     ██▀  ▀██ ██  ██  ██
████▄       ▄▄████▀                                   ▀███▄▄      ▄▄██  ▄████▄ ██▄     ██▄  ▄██ ██  ██  ██
 ██████████████▀▀                                       ▀▀█████████▀▀   ▀████▀  ▀████▀  ▀████▀  ██  ██  ██
   ▀██████▀▀▀



▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
The Bitcoin Casino
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█                         █
█       ██                █
█      █▄▄█               █
█     █▀  ▀█              █
█                         █
█       ▄▄                █
█     ▄████▄              █
█   ▄████████▄            █
█   ▀████████▀            █
█     ▀████▀              █
█       ▀▀                █
█                         █
█                         █
█                         █
█                         █
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
Provably fair
Free faucet

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
12 exclusive games
And many more...

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬



                ▄▄
               ▄▀▀
               ▀█
      █▀▄  ▄▄▄▄█▀▀█▄▄ ▄▀█
      █  ▀▀          ▀  █
      █▌        ██▌ █   █▌
      ▐█       ▐█████   ▐█ ▄▄ ▄▄▄
      █▌        ▀▀▀▀     █ █ ▀   █
      █       ▀▄▄▄▄▄▀     ▀    ▄▀
      █         ▀▀           ▄▀
     ▄▀                    ▄▀
   ▄▀                     █
 ▄▀                       █
█   █▄█                   █
 ▀▀▀  █       ▄▄▄▄▄       █
      █       █   █       █
      ▀▄▄▄▄▄▄▄▀   ▀▄▄▄▄▄▄▄▀
gagalady
Legendary
*
Offline Offline

Activity: 938
Merit: 1000


View Profile
May 30, 2014, 02:20:13 PM
 #4

I would like to learn programming too.
I'm not sure where I should start.

I wanted to learn It too because I know that programmers gets really good salary and It has "over stocked' customers but I don't like the fact that you have to sit at the computer a lot and It's really bad for your eyes, I just can't last long  looking at computer, my eyes gets hurt.  Undecided

I guess working as a programmer would make your vision  so much worse in just 4-6 years.. Because you would have to look at the computer for at least 8 hours a day or something I guess  Cry
Holdaaja
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
May 30, 2014, 02:24:33 PM
 #5

I would like to learn programming too.
I'm not sure where I should start.

I wanted to learn It too because I know that programmers gets really good salary and It has "over stocked' customers but I don't like the fact that you have to sit at the computer a lot and It's really bad for your eyes, I just can't last long  looking at computer, my eyes gets hurt.  Undecided

I guess working as a programmer would make your vision  so much worse in just 4-6 years.. Because you would have to look at the computer for at least 8 hours a day or something I guess  Cry

I am a lot on computer anyway.
And my eyes won't hurt.
Do you have too bright screen?

      ▄▄████████▄▄
   ▄████████████████▄
 ▄█████▀▀       ▀▀████                              
▄████▀            ████      ████                  ████
█████           ▄████▀     ████▌                 ▐████
█████           ▀▀▀▀      ▐████                  ████▌    ▄▄
 █████▄                  ▄█████████▀            ▐████   ▄███▀
   ▀█████▄▄        ▄▄███████████▀▀   ▄▄▄▄       ████  ▄███▀     ▄▄▄▄
      ▀███████▄    ▀████▀████▀     ▄████▀███   ▐███████▀▀    ▄███▀ ██▌
         ▀▀██████▄▄     ▐████    ▄████  ▐██▌   ███████     ▄███▀  ▄██▌
    ▄▄▄▄     ▀▀█████    ████    ▄███▀   ███   ▐███▌███    ▐████▄▄███▀
  █████▀▀      ▀████▌  ▐████    ████   ▄███   ████ ▐███   ████
 ████▀          ████▌  ▐████▄▄██████▄▄█████▄▄█████  ▀███  ▀████▄▄▄▄██           ▄████▄  ▄████▄  ██▄██▄██▄
████▌          █████    ▀████▀▀  ▀████▀  ▀██▀ ███▀   ▀███   ▀▀████▀▀           ██▀     ██▀  ▀██ ██  ██  ██
████▄       ▄▄████▀                                   ▀███▄▄      ▄▄██  ▄████▄ ██▄     ██▄  ▄██ ██  ██  ██
 ██████████████▀▀                                       ▀▀█████████▀▀   ▀████▀  ▀████▀  ▀████▀  ██  ██  ██
   ▀██████▀▀▀



▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
The Bitcoin Casino
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█                         █
█       ██                █
█      █▄▄█               █
█     █▀  ▀█              █
█                         █
█       ▄▄                █
█     ▄████▄              █
█   ▄████████▄            █
█   ▀████████▀            █
█     ▀████▀              █
█       ▀▀                █
█                         █
█                         █
█                         █
█                         █
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
Provably fair
Free faucet

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
12 exclusive games
And many more...

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬



                ▄▄
               ▄▀▀
               ▀█
      █▀▄  ▄▄▄▄█▀▀█▄▄ ▄▀█
      █  ▀▀          ▀  █
      █▌        ██▌ █   █▌
      ▐█       ▐█████   ▐█ ▄▄ ▄▄▄
      █▌        ▀▀▀▀     █ █ ▀   █
      █       ▀▄▄▄▄▄▀     ▀    ▄▀
      █         ▀▀           ▄▀
     ▄▀                    ▄▀
   ▄▀                     █
 ▄▀                       █
█   █▄█                   █
 ▀▀▀  █       ▄▄▄▄▄       █
      █       █   █       █
      ▀▄▄▄▄▄▄▄▀   ▀▄▄▄▄▄▄▄▀
lynn_402
Sr. Member
****
Offline Offline

Activity: 462
Merit: 253


View Profile
May 30, 2014, 02:36:06 PM
 #6

I would like to learn programming too.
I'm not sure where I should start.

Search on Youtube, a few universities like Yale and Harvard offer free online courses on programming.
Holdaaja
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
May 30, 2014, 02:52:05 PM
 #7

I would like to learn programming too.
I'm not sure where I should start.

Search on Youtube, a few universities like Yale and Harvard offer free online courses on programming.

Okay, thanks for tip.
Do you have any suggestion which channel I should look?

      ▄▄████████▄▄
   ▄████████████████▄
 ▄█████▀▀       ▀▀████                              
▄████▀            ████      ████                  ████
█████           ▄████▀     ████▌                 ▐████
█████           ▀▀▀▀      ▐████                  ████▌    ▄▄
 █████▄                  ▄█████████▀            ▐████   ▄███▀
   ▀█████▄▄        ▄▄███████████▀▀   ▄▄▄▄       ████  ▄███▀     ▄▄▄▄
      ▀███████▄    ▀████▀████▀     ▄████▀███   ▐███████▀▀    ▄███▀ ██▌
         ▀▀██████▄▄     ▐████    ▄████  ▐██▌   ███████     ▄███▀  ▄██▌
    ▄▄▄▄     ▀▀█████    ████    ▄███▀   ███   ▐███▌███    ▐████▄▄███▀
  █████▀▀      ▀████▌  ▐████    ████   ▄███   ████ ▐███   ████
 ████▀          ████▌  ▐████▄▄██████▄▄█████▄▄█████  ▀███  ▀████▄▄▄▄██           ▄████▄  ▄████▄  ██▄██▄██▄
████▌          █████    ▀████▀▀  ▀████▀  ▀██▀ ███▀   ▀███   ▀▀████▀▀           ██▀     ██▀  ▀██ ██  ██  ██
████▄       ▄▄████▀                                   ▀███▄▄      ▄▄██  ▄████▄ ██▄     ██▄  ▄██ ██  ██  ██
 ██████████████▀▀                                       ▀▀█████████▀▀   ▀████▀  ▀████▀  ▀████▀  ██  ██  ██
   ▀██████▀▀▀



▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
The Bitcoin Casino
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█                         █
█       ██                █
█      █▄▄█               █
█     █▀  ▀█              █
█                         █
█       ▄▄                █
█     ▄████▄              █
█   ▄████████▄            █
█   ▀████████▀            █
█     ▀████▀              █
█       ▀▀                █
█                         █
█                         █
█                         █
█                         █
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
Provably fair
Free faucet

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
12 exclusive games
And many more...

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬



                ▄▄
               ▄▀▀
               ▀█
      █▀▄  ▄▄▄▄█▀▀█▄▄ ▄▀█
      █  ▀▀          ▀  █
      █▌        ██▌ █   █▌
      ▐█       ▐█████   ▐█ ▄▄ ▄▄▄
      █▌        ▀▀▀▀     █ █ ▀   █
      █       ▀▄▄▄▄▄▀     ▀    ▄▀
      █         ▀▀           ▄▀
     ▄▀                    ▄▀
   ▄▀                     █
 ▄▀                       █
█   █▄█                   █
 ▀▀▀  █       ▄▄▄▄▄       █
      █       █   █       █
      ▀▄▄▄▄▄▄▄▀   ▀▄▄▄▄▄▄▄▀
Lethn
Legendary
*
Offline Offline

Activity: 1540
Merit: 1000



View Profile WWW
May 30, 2014, 02:59:06 PM
 #8

I would like to learn programming too.
I'm not sure where I should start.

I wanted to learn It too because I know that programmers gets really good salary and It has "over stocked' customers but I don't like the fact that you have to sit at the computer a lot and It's really bad for your eyes, I just can't last long  looking at computer, my eyes gets hurt.  Undecided

I guess working as a programmer would make your vision  so much worse in just 4-6 years.. Because you would have to look at the computer for at least 8 hours a day or something I guess  Cry

That used to be true, but I think that was for older monitors, nowadays all monitors are LCD and flatscreens and I think they've gotten rid of that problem now, you do need to rest your eyes once in awhile though but that's just when doing lots of work generally.
Holdaaja
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
May 30, 2014, 03:04:21 PM
 #9

I would like to learn programming too.
I'm not sure where I should start.

I wanted to learn It too because I know that programmers gets really good salary and It has "over stocked' customers but I don't like the fact that you have to sit at the computer a lot and It's really bad for your eyes, I just can't last long  looking at computer, my eyes gets hurt.  Undecided

I guess working as a programmer would make your vision  so much worse in just 4-6 years.. Because you would have to look at the computer for at least 8 hours a day or something I guess  Cry

That used to be true, but I think that was for older monitors, nowadays all monitors are LCD and flatscreens and I think they've gotten rid of that problem now, you do need to rest your eyes once in awhile though but that's just when doing lots of work generally.

Yeah, and remember to blink Cheesy
And keep breaks time to time.

And if you have that old monitor, buy new one.

      ▄▄████████▄▄
   ▄████████████████▄
 ▄█████▀▀       ▀▀████                              
▄████▀            ████      ████                  ████
█████           ▄████▀     ████▌                 ▐████
█████           ▀▀▀▀      ▐████                  ████▌    ▄▄
 █████▄                  ▄█████████▀            ▐████   ▄███▀
   ▀█████▄▄        ▄▄███████████▀▀   ▄▄▄▄       ████  ▄███▀     ▄▄▄▄
      ▀███████▄    ▀████▀████▀     ▄████▀███   ▐███████▀▀    ▄███▀ ██▌
         ▀▀██████▄▄     ▐████    ▄████  ▐██▌   ███████     ▄███▀  ▄██▌
    ▄▄▄▄     ▀▀█████    ████    ▄███▀   ███   ▐███▌███    ▐████▄▄███▀
  █████▀▀      ▀████▌  ▐████    ████   ▄███   ████ ▐███   ████
 ████▀          ████▌  ▐████▄▄██████▄▄█████▄▄█████  ▀███  ▀████▄▄▄▄██           ▄████▄  ▄████▄  ██▄██▄██▄
████▌          █████    ▀████▀▀  ▀████▀  ▀██▀ ███▀   ▀███   ▀▀████▀▀           ██▀     ██▀  ▀██ ██  ██  ██
████▄       ▄▄████▀                                   ▀███▄▄      ▄▄██  ▄████▄ ██▄     ██▄  ▄██ ██  ██  ██
 ██████████████▀▀                                       ▀▀█████████▀▀   ▀████▀  ▀████▀  ▀████▀  ██  ██  ██
   ▀██████▀▀▀



▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
The Bitcoin Casino
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█                         █
█       ██                █
█      █▄▄█               █
█     █▀  ▀█              █
█                         █
█       ▄▄                █
█     ▄████▄              █
█   ▄████████▄            █
█   ▀████████▀            █
█     ▀████▀              █
█       ▀▀                █
█                         █
█                         █
█                         █
█                         █
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
Provably fair
Free faucet

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮
▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬
12 exclusive games
And many more...

▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬ ▮█▮ ▬▬▬▬▬▬



                ▄▄
               ▄▀▀
               ▀█
      █▀▄  ▄▄▄▄█▀▀█▄▄ ▄▀█
      █  ▀▀          ▀  █
      █▌        ██▌ █   █▌
      ▐█       ▐█████   ▐█ ▄▄ ▄▄▄
      █▌        ▀▀▀▀     █ █ ▀   █
      █       ▀▄▄▄▄▄▀     ▀    ▄▀
      █         ▀▀           ▄▀
     ▄▀                    ▄▀
   ▄▀                     █
 ▄▀                       █
█   █▄█                   █
 ▀▀▀  █       ▄▄▄▄▄       █
      █       █   █       █
      ▀▄▄▄▄▄▄▄▀   ▀▄▄▄▄▄▄▄▀
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
May 30, 2014, 03:44:43 PM
 #10

I would like to learn programming too.
I'm not sure where I should start.

Search on Youtube, a few universities like Yale and Harvard offer free online courses on programming.

Yeah and there are MIT courses I think that also offer free programming classes online, I would have to find the link since I haven't used it myself in a while.

What else could I say?
Bitcoin Magazine
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
May 30, 2014, 03:46:03 PM
 #11

i want to learn Pascal (it has past in it, and i like learning things_

i am here.
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
May 30, 2014, 03:56:54 PM
 #12

Update 1: I started with javascript since it seems to be a language I could learn easily and it's accessible from my browser, and did a couple while/for loops

Code:
a = [1,2,3]
for (var i=0; i<a.length; i++) {
console.log(a[i])};

i also ended up doing it backwords
Code:
for (var i=a.length; i--;) { console.log(a[i]) }; 

So javascript day 1:
Complete.

What else could I say?
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
May 31, 2014, 04:10:52 AM
 #13

Today, I will be doing the same with javascript only in my favorite programming language those far: Ruby

I learned Ruby in the summer of 2006, from _why the lucky stiffs poignant guide, and I have to say it was by far the most amusing and confusing book that I've ever read in my life. He's a great storyteller no doubt, but his imagination and writing gets in the way of actual learning in some places.

Anyways here we go:

Code:
a = [1,2,3]
a.each do |num|
puts a
end # prints out 1,2,3

and for S.A.G's
Code:
for each in a.reverse do
print a
end # prints out 3,2,1

And that's ruby for today, complete.

What else could I say?
Trading
Legendary
*
Offline Offline

Activity: 1455
Merit: 1033


Nothing like healthy scepticism and hard evidence


View Profile
May 31, 2014, 04:44:01 AM
 #14

Most people don't like to learn, they dislike the position of learner, dislike the insecurity in front of new things, dislike the risk of failing on it, etc.
Good movement, good luck.

The Rock Trading Exchange forges its order books with bots, uses them to scam customers and is trying to appropriate 35000 euro from a forum member https://bitcointalk.org/index.php?topic=4975753.0
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
May 31, 2014, 05:07:35 AM
 #15

Hey thanks!

My looking at it is like this, if I can take little pieces of things and just learn something new each day that's preventing my brain from turning into a bigger pile of mush than it already is. Plus on the downtime from school I need *something* to do.

Trust me when I get to the harder languages it's gonna be more difficult, I'm starting out on the ones people most recommend starting out with.

What else could I say?
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
June 01, 2014, 06:55:32 AM
 #16

Today's language: Perl!

This one was a toughy for me, because I don't understand $ and @'s and what not so here we go, going with the same drill as before

Code:
@a = qw('Barney, 'betty', 'fred', 'wilma');
foreach (@a) { print $_; }

and backwards even!

Code:
@flintstones = reverse @a;
print "@flintstones\n";

and that's Perl for ya, might take a break for a day as family business and illness is starting to wear on me. Check back though, maybe I'll get into a language like C or something.

What else could I say?
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
June 02, 2014, 05:49:38 PM
 #17

Language for June 2: C!

I had to look this one up guys, I'm sorry I let you down!

Code:
#include <stdio.h>
int main()
{
for(int a=0;a<10; a = a + 1)
{
printf("value of a: %d\n", a);
}

return 0;
}

This is more of just a lesson for me, this is actually reteaching me things I've lost along the way, once upon a time i was pretty proficient in a handful of languages and I lost all of that but now doing this is actually helping me more than I think anyone will ever know. If you get any help out of this, you are welcome. That's what I'm doing this for, I'm doing it for the community to, for that newbie programmer.

I might move on from loops to other types of programming lessons, or whatever in the next series.

Until then!

What else could I say?
b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
June 03, 2014, 03:30:23 PM
 #18

Interesting TED Talk: Try something new every 30 days.

http://www.ted.com/talks/matt_cutts_try_something_new_for_30_days

It's a pretty neat thing to try imo. You can learn a lot and pick up new hobbies.
skottiejay (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 110


bitcoinnaire


View Profile WWW
June 03, 2014, 04:49:39 PM
 #19

Interesting TED Talk: Try something new every 30 days.

http://www.ted.com/talks/matt_cutts_try_something_new_for_30_days

It's a pretty neat thing to try imo. You can learn a lot and pick up new hobbies.

It's interesting you bring up those talks because that's part of the reason why I'm actually doing this. I'm in a downtime between school and finding work, so I figured why not learn something in the meantime. I'm doing something productive. I've also looked into learning a new language (speaking) to fill in the gap between this time and keep my mind occupied.

I've watched like a billion talks about stuff like this, I really enjoy them and it helps me feel productive!

UPDATE: I will probably be moving on to more complicated matters, like something beyond "Hello world" but I can't figure out what to do yet. Any suggestions?

What else could I say?
bitmaster111
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile WWW
June 03, 2014, 06:10:31 PM
 #20

I love doing programming in c and c++ . when I was in college it was my favorite subject . I like to go for lab of c and c++ .I also want to enhance my knowledge further.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!