Home | Community | Message Board


Sporeworks
Please support our sponsors.

General Interest >> Science and Technology

Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post. Pages: 1
InvisibleEvolving
Resident Cynic

Registered: 10/01/02
Posts: 5,385
Loc: Apt #6, The Village
Scripting Languages: Ruby vs. Python
    #2323443 - 02/11/04 10:18 AM (13 years, 8 months ago)

I'd like to hear opinions from anyone who has coded in both Ruby and Python as to which you prefer and why.

Thanks.


--------------------
To call humans 'rational beings' does injustice to the term, 'rational.'  Humans are capable of rational thought, but it is not their essence.  Humans are animals, beasts with complex brains.  Humans, more often than not, utilize their cerebrum to rationalize what their primal instincts, their preconceived notions, and their emotional desires have presented as goals - humans are rationalizing beings.


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineT0aD
Stranger

Registered: 06/18/02
Posts: 4,475
Last seen: 8 years, 7 months
Re: Scripting Languages: Ruby vs. Python [Re: Evolving]
    #2323932 - 02/11/04 01:41 PM (13 years, 8 months ago)

yeah, Id be interested in that too. Lets include Perl, too :smile:


--------------------
Cuba Libre


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineSeussA
Error: divide byzero

Folding@home Statistics
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 9 months, 12 days
Re: Scripting Languages: Ruby vs. Python [Re: Evolving]
    #2324173 - 02/11/04 02:49 PM (13 years, 8 months ago)

I have used python in the past and found it to be very easy to learn and use (from a professional computer science standpoint... not something I would expect my Mother to be able to pick up easily). I have never used Ruby. Perl blows chunks, period. If you like write once, read never, then perl is great. Try maintaining perl code that somebody else wrote and you will see what I mean. TCL/TK are nice if you want portable gui type scripts... as is expect if you know TCL. TCL is a list oriented language, so things can be a bit odd if you aren't used to something like LISP. Don't forget PHP as well... for web scripting it is by far the best that I have found.


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineT0aD
Stranger

Registered: 06/18/02
Posts: 4,475
Last seen: 8 years, 7 months
Re: Scripting Languages: Ruby vs. Python [Re: Seuss]
    #2324612 - 02/11/04 04:30 PM (13 years, 8 months ago)

thanks for the info

>Perl blows chunks, period. If you like write once, read never, then perl is >great.maintaining perl code that somebody else wrote and you will see what I >mean

What do you mean here? That you think perl aint good, but is easy to learn from examples?


--------------------
Cuba Libre


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineSeussA
Error: divide byzero

Folding@home Statistics
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 9 months, 12 days
Re: Scripting Languages: Ruby vs. Python [Re: T0aD]
    #2324795 - 02/11/04 05:14 PM (13 years, 8 months ago)

> What do you mean here?

Perl is great if you have to write something quick and dirty to do a single procedure one time.  If you are writing code that must be maintained for years and years by other people, then perl sucks.  There are thirty different ways to do a single task and everybody does it different.  The 'loose format' or lack of style in perl is what I really dislike about the language.  It is very chaotic and can be hard to follow.

Perl does have a lot in its favor.  The libraries available are out of this world.  If you need something, it has probably been done by somebody else already.  Go to CPAN and start digging.  Obviously others like it... I don't.  :smile:


--------------------
Just another spore in the wind.


Post Extras: Print Post  Remind Me! Notify Moderator
InvisibleSHiZNO
-

Registered: 03/14/03
Posts: 1,467
Re: Scripting Languages: Ruby vs. Python [Re: Seuss]
    #2325468 - 02/11/04 08:14 PM (13 years, 8 months ago)

i know a guy who thinks hes a programmer because he knows how to print text in python.... i hate the guy so much i have to hate python as well.


--------------------
...


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineSeussA
Error: divide byzero

Folding@home Statistics
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 9 months, 12 days
Re: Scripting Languages: Ruby vs. Python [Re: SHiZNO]
    #2325944 - 02/12/04 08:03 AM (13 years, 8 months ago)

> i hate the guy so much i have to hate python as well.

Why give him so much power over yourself?


--------------------
Just another spore in the wind.


Post Extras: Print Post  Remind Me! Notify Moderator
Offlinezappaisgod
horrid asshole

Registered: 02/11/04
Posts: 81,741
Loc: Fractallife's gym
Last seen: 1 year, 4 months
Re: Scripting Languages: Ruby vs. Python [Re: Seuss]
    #2335403 - 02/14/04 08:47 PM (13 years, 8 months ago)

anger can be power....know that you can use it.....Joe Strummer


--------------------


Post Extras: Print Post  Remind Me! Notify Moderator
Invisibledjfrog
omgws!!!1!

Registered: 10/23/00
Posts: 3,710
Re: Scripting Languages: Ruby vs. Python [Re: Evolving]
    #2335643 - 02/14/04 10:57 PM (13 years, 8 months ago)

I like what Python did with using spacing in the syntax. Eliminates redundancy, ensures consistent readability, great. But does it do anything else thats novel? I found some of their basic file handling classes to have a somewhat retarded design. I left it alone after that, and probably wouldn't pick it up again unless it has mainstream support.

I dislike Perl for the same reasons given above. Don't let linguists design computer languages.

I haven't used Ruby, but I've heard good things about it.

I've played with C# some. Its pretty smooth. I've been doing XSL stuff, cool shit.


Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

General Interest >> Science and Technology

Similar ThreadsPosterViewsRepliesLast post
* Favorite Programming Language
( 1 2 all )
D4NK 1,996 35 03/16/09 03:12 AM
by zouden
* Statistics time: Programming Languages and Programmers
( 1 2 all )
delta9 3,365 26 05/16/07 02:17 PM
by SymmetryGroup8
* Why is coding cool?
( 1 2 all )
Epigallo 1,211 20 02/11/09 06:42 PM
by PlayDoh
* linux shell script help OJK 853 7 05/23/06 02:21 PM
by OJK
* Programing languages help Baeosistine 674 6 10/04/08 08:49 PM
by zouden
* FreeBSD vs. Linux (or other free unix type systems) Solutarch 632 2 11/27/05 03:36 PM
by Solutarch
* Who wants to teach me python? Just_a_Shadow 670 8 01/10/09 01:41 PM
by Baby_Hitler
* help with a script
( 1 2 all )
supra 1,811 20 11/27/08 04:13 PM
by zouden

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Lana, trendal, automan
968 topic views. 0 members, 1 guests and 2 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Out-Grow.com - Mushroom Growing Kits & Supplies
Please support our sponsors.

Copyright 1997-2017 Mind Media. Some rights reserved.

Generated in 0.027 seconds spending 0.006 seconds on 19 queries.