Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Learning as a total beginner

Name: Anonymous 2011-12-20 19:34

What would be the best choice for a total beginner?:

- Learn Python the hard way
- Dive into Python
- How to Think Like a Computer Scientist Learning with Python

I chosed "Learn Python the hard way", right now I'm on exercise 15 and it's getting harder to understand. Advices?

Name: Anonymous 2011-12-20 20:02

OP, learn Ruby - it will allow you to write cool-loking code, like:

(sq = -> x {x * x})
p sq[2]
# => 4
 
(f = -> x{ (x > 0) ? (f[x-1] + f[x-2]) : (1) } )
p [*0..10].map{|x| f[x]}
# => [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144]



yoba = -> say { say[][]["podyoba"] }
yoba[->{ ->{ ->word { puts word.swapcase } } }]

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List