FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


which scripting language is better?





vivek252007
For quite some time i am struggling to take up a scripting language for automation. Although there are many different languages, but I am confused between python an ruby. Can anyone tell me which would be better?
Marcuzzo
For automation on windows machines I would even recommend Powershell.

before I started working with powershell I used to hate it. the syntax is ugly and it isn't as intuitive as other automation scripts like jscript ( running on WSH that is, not the browser version )

as far as ruby and python go, both are OO languages butI've had little or no experience with it.

if OO is your thing, in powershell you can define and use C# classes
ifeellikeabear
Python and Ruby are similar in their ease of writing, but it really will depend on which one you are more comfortable in. For simple things, they will each do what you'd like with the same amount of work on your end. For more complicated tasks, you might end up using some sort of third-party framework, and in that case there are plenty available for either language.
I personally find python to be a little easier to write and I prefer its more casual syntax to Ruby, but they are still so similar that I would advise just to pick one and stick with it.
HEYL04
It depends on what you want to achieve.

From a non bias point of view i believe cmd is best at just slapping something together with the least amount of effort. For more complex projects like networking of file/database management i would recommend python. Python is also a great place to start learning code as it encourages both use of simple syntax or complex syntax for more advanced users. You can also use python for large scale projects like: games, web forums and network communication.

Ruby is a bit more limited in a sense. It does have its benefits but I am not experienced much with this language.

Good luck at finding a starting point of scripting!
katinka
I like python for small and quick scripts and programs, which I run from the terminal or command line. Especially when I need to copy paste a lot I automate it in this way.

For complex on line tooling, I would prefer Ruby, although I do not like the hassle a new version (installation) takes on my laptop. I kind of quit Ruby when I had updated and the tutorial I was following was very different than Ruby itself. I lost my patience.
Related topics
PHP or HTML
HELP ME in C++
What Is CSS and PHD?
[Question] Visual Basic C++, PHP, mySQL language guides...
Language
Programming links, info, and tutorials
Difference between PHP and HTML docs
Sony Vegas vs Premiere Pro vs Ulead Video Editor?
If your thread is on this list, don't post it
Explain and get up to 30FRIH!
PHP VS ASP
Scripting Language
Popular web scripting language
Php Scripting Language
What scripting language do you use?
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.