Python has been written to have a clear and readable syntax.
Ruby allows for a lot of symbolism similar to Perl. It saves you some typing, but makes things harder to read and understand.
Much of the use of Ruby can be attributed to a web development framework called Rails, or ‘Ruby On Rails’.
For all around programming Python has the better features and support.
vegaseat
DaniWeb's Hypocrite
6,475 posts since Oct 2004
Reputation Points: 1,447
Solved Threads: 1,611
Skill Endorsements: 36
Stacks are used in assembly language a lot to store data. Python is a much higher language and stacks are rather transparent in use.
Python has a module called deque (double_ended_que) with methods appendleft() and popleft() which behave like the push and pop of a stack.
Ene Uran
Posting Virtuoso
1,830 posts since Aug 2005
Reputation Points: 676
Solved Threads: 255
Skill Endorsements: 7
Ruby does not support keyword arguments in functions, something I have been using with Python a lot.
Ene Uran
Posting Virtuoso
1,830 posts since Aug 2005
Reputation Points: 676
Solved Threads: 255
Skill Endorsements: 7
Question Answered as of 1 Month Ago by
Ene Uran,
jeremywduncan
and
vegaseat