02-20-2010, 09:48 PM
(02-20-2010, 06:43 PM)trilobyte- Wrote: Ruby > Python. I've never really gotten into programming, but I found Ruby so easy that I ended up starting to learn it. And @ Anon, it's not like it's not advanced or anything. You can do some pretty amazing stuff with it, especially learnings rails too. Ruby + Rails = Easiest Blog Software ever.
Not really sure about Ruby but imo Python is the easiest to learn and it has short clear syntax which is just fantastic for sharing/reading snippets. As far as how advanced Python can be when you get into topics such as the internet all I have to say is:
Google, Youtube
As for the example on the site:
Code:
say = "I love Ruby"
puts say
say['love'] = "*love*"
puts say.upcase
5.times { puts say }
Code:
say = 'I love Python'
print say
say.replace('love', '*love*')
print say.upper() * 5