Discuss Scratch

BookOwl
Scratcher
1000+ posts

Ruby vs. Python

Which language do you guys like better, and why?
I'm a die-hard Pythonista myself, but since I haven't tried Ruby, I can't give an opinion (yet).
WooHooBoy
Scratcher
1000+ posts

Ruby vs. Python

Python is amazing.
BookOwl
Scratcher
1000+ posts

Ruby vs. Python

WooHooBoy wrote:

Python is amazing.
While I totaly agree with you, I am looking for more in depth responses about why Python or Ruby is better.
kvackkvack
Scratcher
500+ posts

Ruby vs. Python

Ruby's (from what I know of it / in my opinion) mostly a hipster language, and I think it tries a bit too hard to come up with new ideas, and being different from other languages. I think there's a reason why no other languages use the weird .do syntax for loops, or in which “return if x” means that if x is true, we return.
I don't know, I never got really into it though, so I guess it might get amazing once you're really good at everything in it.
Python's pretty good for sure, although there are some things I don't really enjoy about it. I used to hate it because of it's syntax, but it's really good once you get into it.
blob8108
Scratcher
1000+ posts

Ruby vs. Python

I've only done a little bit of Ruby, but from reading around I get the impression that it's more “weird” and has more magic than Python does. Certainly Python seems to be a lot more popular; I think it's maybe a little more practical?

They're fundamentally pretty similar, paradigm-wise and in approach. If you're looking for something interesting to learn, try Racket or ML or Prolog or Io. :-)
JonathanSchaffer
Scratcher
1000+ posts

Ruby vs. Python

Python.
__init__
Scratcher
1000+ posts

Ruby vs. Python

I agree with all the above reasons, plus Python has a larger user base. I'd say Python.
sam2016___
Scratcher
100+ posts

Ruby vs. Python

Python.
Nuff said.
DrKat123
Scratcher
1000+ posts

Ruby vs. Python

Ruby
Cuz it's really expensive
Waa
*ba-dum-tss*
IronBit_Studios
Scratcher
1000+ posts

Ruby vs. Python

DrKat123 wrote:

Ruby
Cuz it's really expensive
Waa
*ba-dum-tss*
Yeah, but Python's killer.
In all seriousness, Python. Bigger userbase, more popularity, easier, etc.
I guess JS would also do well, if counted.
frodewin
Scratcher
500+ posts

Ruby vs. Python

I prefer python for the same reason I like Scratch:
1. It lets you do some things very efficient (to be honest the “some” is much greater for Python than for Scratch)
2. A lot of people use it, so you can find a lot of example implementations on the stuff you wanna do
Ruby and Snap! have the disadvantage of being less popular and therefore having a smaller userbase.
dariusfoo
Scratcher
4 posts

Ruby vs. Python

I like both languages, although Ruby seems easier.
Icey29
Scratcher
500+ posts

Ruby vs. Python

dariusfoo wrote:

I like both languages, although Ruby seems easier.
In what way? I've never used Ruby and I'm curious to see why you have this opinion.
Miou4
Scratcher
100+ posts

Ruby vs. Python

Python.
__init__
Scratcher
1000+ posts

Ruby vs. Python

Ruby has a pretty nice syntax, but it doesn't have forced indentation (seriously that is like one of my favourite features of Python )
DrKat123
Scratcher
1000+ posts

Ruby vs. Python

__init__ wrote:

Ruby has a pretty nice syntax, but it doesn't have forced indentation (seriously that is like one of my favourite features of Python )
0.o
Firedrake969
Scratcher
1000+ posts

Ruby vs. Python

DrKat123 wrote:

__init__ wrote:

Ruby has a pretty nice syntax, but it doesn't have forced indentation (seriously that is like one of my favourite features of Python )
0.o
Code cleanliness is important when you're working with multiple people
Dylan5797
Scratcher
1000+ posts

Ruby vs. Python

Firedrake969 wrote:

DrKat123 wrote:

__init__ wrote:

Ruby has a pretty nice syntax, but it doesn't have forced indentation (seriously that is like one of my favourite features of Python )
0.o
Code cleanliness is important when you're working with multiple people
I get really frustrated when I look at someone's JavaScript code and they haven't indented a single thing
birdoftheday
Scratcher
500+ posts

Ruby vs. Python

Dylan5797 wrote:

Firedrake969 wrote:

DrKat123 wrote:

__init__ wrote:

Ruby has a pretty nice syntax, but it doesn't have forced indentation (seriously that is like one of my favourite features of Python )
0.o
Code cleanliness is important when you're working with multiple people
I get really frustrated when I look at someone's JavaScript code and they haven't indented a single thing
Most likely if that happens then their code is going to be complete garbage.
comp09
Scratcher
1000+ posts

Ruby vs. Python

birdoftheday wrote:

Dylan5797 wrote:

Firedrake969 wrote:

DrKat123 wrote:

__init__ wrote:

Ruby has a pretty nice syntax, but it doesn't have forced indentation (seriously that is like one of my favourite features of Python )
0.o
Code cleanliness is important when you're working with multiple people
I get really frustrated when I look at someone's JavaScript code and they haven't indented a single thing
Most likely if that happens then their code is going to be complete garbage.
Let's use jQuery for all the things, and ignore the distinction between presentation and functionality

Powered by DjangoBB